The bioBakery help forum

How to calculate alpha beta diversity

Hi @fbeghini
Is it possible to calculate the alpha-beta diversity analyses using the metaphlan3 pipeline? If yes how I can I do so?


Hi Saraswati,
No, MetaPhlAn does not include a script for alpha diversity calculation. Iā€™d suggest you to check some R packages like vegan or phyloseq.

On a related note, how can you use MetaPhlAn data to calculate alpha diversity since it is marker based not read based?



1 Like

Thanks @Sarah_Highlander for putting it very straightforward.

You can treat species like OTUs. alpha.div from rbiom ( can take a species x sample dataframe and estimate several indexes.