-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fixes v. 0.0.10 bugs #91
Conversation
gemelli/rpca.py
Outdated
table = table.filter(frequency_filter, axis='observation') | ||
table = table.filter(sample_filter, axis='sample') | ||
if min_feature_count is not None: | ||
table = table.filter(observation_filter, axis='observation') |
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.
Note these operations are inplace by default. If that is not expected, suggest either creating a copy prior, or passing inplace=False
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.
Good to know. I added inplace=False
just for continuities sake. Thanks!
gemelli/rpca.py
Outdated
if min_feature_frequency is not None: | ||
table = table.filter(frequency_filter, axis='observation') | ||
if min_sample_count is not None: | ||
table = table.filter(sample_filter, axis='sample') |
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.
Suggest ensuring empty samples / features are removed just in case
table = table.filter(sample_filter, axis='sample') | |
table = table.filter(sample_filter, axis='sample') | |
table = table.remove_empty() |
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! Thanks!
This PR fixes the following issues:
The filtering is ignored if the transformation/filtering is done before running tempted.
The HTML files are not packaged with the release in the setup.py.
--p-no-svd-centralized
not working? #82If no-centering is done then the original table list is used.