| adiv_matrix | R Documentation | 
Create a matrix of samples x alpha diversity metrics.
adiv_matrix(biom, adiv = ".all", transform = "none", cpus = NULL)
| biom | An rbiom object, such as from  | 
| adiv | Alpha diversity metric(s) to use. Options are:  | 
| transform | Transformation to apply. Options are:
 | 
| cpus | The number of CPUs to use. Set to  | 
A numeric matrix with samples as rows. The first column is
Depth. Remaining columns are the alpha diversity metric names
given by adiv: one or more of 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.