-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: detect donor indicators pipeline #109
Conversation
import pandas as pd | ||
from qiime2 import Metadata | ||
|
||
# TODO: Change Import path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this TODO still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes,
I would love to hear your opinion but the imports are going to change once this massive pr gets merged(#101 ) but I didnt want to base this pr off that pr, so I left a todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from q2_fmt._peds import _check_for_time_column, _check_reference_column | ||
|
||
|
||
def detect_donor_indicators(ctx, table, reference_column, time_column, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should probably be tests that call this pipeline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a usage ex!
q2_fmt/_ancombc.py
Outdated
"""Checks if column is in the metdata | ||
Checks that column is in the metdata and creates helpful error messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to be an accurate description of what this does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
@cherman2 most of these are trivial only like 1 or 2 are real |
Co-authored-by: Anthony Simard <[email protected]>
Co-authored-by: Anthony Simard <[email protected]>
Co-authored-by: Anthony Simard <[email protected]>
Co-authored-by: Anthony Simard <[email protected]>
Hi @Oddant1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Evan Bolyen <[email protected]>
I think this is ready to merge @Oddant1, Would you merge for me? |
Adds a pipeline for filtering feature-table down to baseline and donors, and running ancombc to detect important donor features.