-
Notifications
You must be signed in to change notification settings - Fork 29
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
Let collapse
accept FeatureTable[PresenceAbsence]
#104
Comments
What would the output type be in that case? |
The output would still be a Just as I am assuming that presence/absence == 1/0 |
That makes me a little nervous as it wouldn't make sense to rarefy, add-pseudocount, or perform most other manipulations of the table. So that |
very good point. I am not sure how much user demand there would be for this if we made a stand-alone method (e.g., |
I suppose I'm not really sure what the goal is either. In principle a |
Hello, I think this feature is important in order to compare number of features in a large taxonomic group (phylum) between two samples. When studying organisms like algae, our databases might only allow us to get as far as phylum or family and having the number of features in that group for comparison is important. |
@dannyw2594 that could also be achieved by:
That approach would be cumbersome if a user wanted to do this for many different taxa, e.g., compare the number of features belonging to each genus, but at the phylum level (and particularly on key phyla) it should be pretty easy to accomplish. Do you think that covers your needs? Sorry I did not suggest this earlier — it sounds now like you have a particular set of phyla in mind, before it sounded like you had much more expansive aims. |
Well that method would still be difficult. For an example with algae, the phylum Charophyta contains both algae and land plants. I would prefer to be able to see the list of taxonomy along with Feature counts so I can select the groups I want. |
Maybe we should move this back to the forum if discussion goes any further...
You can pass multiple This should only be problematic if:
If there will necessarily be a manual checking step (e.g., you cannot devise a reasonable taxonomy filter that could exclude capture all ingroups while excluding the many outgroups, e.g., land plants, that you do not want), then this might make the most sense. If one of these solutions work for you, would you mind posting that solution to the forum thread? Other users searching that thread might be looking for a similar solution. Thanks! |
Sure, Im going to mess around with it this afternoon and Ill post what ends up working. Thanks for talking through this with me! |
Improvement Description
Could be used to calculate the number of unique features belonging to each taxonomic group.
References
forum xref
The text was updated successfully, but these errors were encountered: