-
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
UniFrac #336
Comments
Thanks, this is important. The conclusion seem to be that rbiom matches best with QIIME2 (and gives similar results to 2 other independent R implementations as well but not with phyloseq). It is also the fastest R implementation. -> mia should be updated to use rbiom implementation! |
any volunteers for a quick PR..? |
Also see FuncDiv that implemented this same suggestion in issue 2. |
Link with issue #340 |
The calculateUnifrac file seems to implement it's own version of unifrac inspired from the phyloseq function without actually using other packages : calculate_Unifrac.R. I've been trying to find the difference between the phyloseq implementation and the rbiom implementation to no avail. |
The idea would be to use this as a dependency, and just call the rbiom function (internally from mia), instead of the current solution which is to call phyloseq internally -> you wouldn't need to know how rbiom works internally if you can replace the phyloseq unifrac call with the rbiom unifrac call. |
@thpralas has checked this unifrac thing little bit |
Ok - then let @thpralas take care |
It was not assigned to anyone, so I had passed it on. Let's aim to use the assignments on the top right to indicate if someone works on something, this way we can avoid overlaps. |
Yes, that's ok. As we have now more contributors, it is better to switch using the "assignees" field. |
I have not checked the rbiom implementation of unifrac yet but I looked at the picante implementation ( The picante implementation takes as parameters a community matrix and a tree. I think that the aggregation of the matrix based on |
Little bit related to this same thing: also faith index implementation could be changed so that we use external package instead of our own implementation. Good thing about picante was that it included also faith alpha diversity index, rbiom seems not to include it. |
Note the original discussion above. It included both picante and rbiom, and the latter seemed better overall: "The conclusion seem to be that rbiom matches best with QIIME2 (and gives similar results to 2 other independent R implementations as well but not with phyloseq). It is also the fastest R implementation." |
I opened a distinct issue on Faith in #522 |
My primary preference is rbiom for the above mentioned reason |
@thpralas is this issue ready & could be closed? |
Yes I think this issue is now ready and can be closed since mia unifrac implementation now internally calls rbiom instead of phyloseq (#523) |
Currently the UniFrac distance calculation is ported from phyloseq to work with TreeSummarizedExperiment objects. I recently came across this issue in phyloseq github
joey711/phyloseq#956
It seems that there are some differences in calculation between qiime2 and phyloseq. Have anyone tested this? Is it possible to check if it is also the case with tse?
The text was updated successfully, but these errors were encountered: