-
Notifications
You must be signed in to change notification settings - Fork 27
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
Give informative error when values are missing in addRDA #626
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #626 +/- ##
========================================
Coverage ? 67.80%
========================================
Files ? 44
Lines ? 5302
Branches ? 0
========================================
Hits ? 3595
Misses ? 1707
Partials ? 0 ☔ View full report in Codecov by Sentry. |
Thanks! Original data dimension
Dimension after RDA (or CCA):
Ok the samples match and they are not dropped. This solution seems OK to me. We could consider providing an optional (hidden?) argument to drop out samples with missing values but perhaps this is not critical for now. Confirm that we have sufficient unit tests in place, and documentation is clear about the key issues related to this one. I am wondering where the 6 component solution is defined, why the default is 6 dimensions and is it possible to change that somehow? (not really related to this issue but it would be useful to find out - if time not available now, perhaps open another issue on that?). |
I think this can be simply done by using |
Right, sounds good. Could/should we mention this explicitly in the documentation (@details section perhaps)? Good to check that sufficient unit tests are in place. |
Resolve conflicts. |
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.
Seems good!
That works only for get* functions. When add* function is used, the results is added with .add_object_to_reduceddim. That function checks if the result is missing samples compared to the TreeSE. If the result is missing samples and However, that might not be the behavior that user wants. (If the result is missing samples, user specified na.omit and that is what user wants.) So I suggest that we
|
ok |
Hi! I got back to this PR. I noticed that the example with GlobalPatterns is very slow. Is it ok if I change the dataset to enterotype? |
This PR is ready to merge from my side. |
Fix for issue #432.
Usage examples: