Skip to content
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

Filter #122

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Filter #122

wants to merge 9 commits into from

Conversation

johnchase
Copy link
Collaborator

@johnchase johnchase commented Jun 19, 2019

  • Adds the option to filter zero counts from a sourcetracker analysis (When both a given sink and source have zero counts)
  • Removes the left out sample from the feature assignment tables when run with LOO=True Previously this was populated with all zeros

Sourcetracker will now filter and features that are zero values in _all_
source features _and_ in a give sink. (i.e. each sink is analyzed
independently)
@johnchase johnchase requested review from wdwvt1 and lkursell June 19, 2019 00:28
@johnchase
Copy link
Collaborator Author

@wdwvt1 We haven't really discussed this in detail. If this is not appropriate to add to master, we can close the pull request and I can maintain the code in another repo.

@coveralls
Copy link

coveralls commented Jun 19, 2019

Coverage Status

Coverage increased (+0.4%) to 100.0% when pulling d5a673c on filter into 4f52d7f on master.

@johnchase johnchase self-assigned this Aug 22, 2019
@johnchase johnchase requested a review from jkliu September 21, 2019 21:39
@johnchase
Copy link
Collaborator Author

Flake8 errors, will fix soon

@jkliu
Copy link

jkliu commented Sep 23, 2019

Tested branch on a dataset that was previously returning the incorrect columns/features when using filter_zero_counts=True for filtering. Rerunning branch on the same dataset now returns a feature assignment table with a set of columns/features that is a subset to the set of columns/features that went into gibbs()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants