adiv_matrix | R Documentation |
Create a matrix of samples x alpha diversity metrics.
adiv_matrix(biom, trans = "none")
biom |
An rbiom object, such as from |
trans |
Transformation to apply. Options are:
|
A numeric matrix with samples as rows and columns named Depth, OTUs, Shannon, Chao1, Simpson, and InvSimpson.
library(rbiom)
biom <- slice_head(hmp50, n = 5)
adiv_matrix(biom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.