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
alpha and beta diversity without qiime file #35
Comments
Thanks for the suggestion! I see this is similar to your previous request in #21, correct? As you can see in Below example shows how it works:
Plot the regular way:
Now with a text file:
If you are satisfied with above, I will also update the Lastly, please don't forget these changes are implemented in the
|
Hi @sbslee |
Oops, forgot to attach the test input file ( The regular QZA file is included in the I will also leave a link to development documentation in case you want to check it out (there you will see that the method now accepts https://dokdo.readthedocs.io/en/1.12.0-dev/dokdo_api.html#module-dokdo.api.alpha_diversity_plot Finally, thanks for your feedback. I will update the other methods ASAP and get back to you. |
* :issue:`35`: Update the methods :meth:`alpha_diversity_plot`, :meth:`beta_2d_plot`, and :meth:`beta_3d_plot` to accept :class:`pandas.DataFrame` in case the input data was not generated from QIIME 2 (e.g. shotgun sequencing). * Update the methods :meth:`beta_2d_plot` and :meth:`beta_3d_plot` to print out the proportions explained instead of embedding them in the PCoA plot.
The update is complete! Please let me know if you have additional methods you want that need to be updated. Input test files:
|
Hi @sbslee, |
Unfortunately, what you are describing here (i.e. performing diversity analyses for non-QIIME 2 data) is beyond the scope of Dokdo. Sure, Dokdo can be -- and has been -- extended to visualize data from non-QIIME 2 software, but it's a whole different story to support analyzing such data. Hope this makes sense! |
Yes, i can understand, |
Hi @sbslee,
Can you add some codes to make alpha (Shannon, observed and evenness) and beta (Bray-Curtis and Jaccard index) with some plots from a normal text file?
If someone is not using qiime or shotgun data which comes as a normal text file, this code can be useful,
Of course, phylogenetic info cant be added here, but still, this is going to be useful,
There are vegan and phyloseq packages available but not straightforward codes with proper explanation,
Thanks,
Khem
The text was updated successfully, but these errors were encountered: