abundances_matrix | R Documentation |
This function returns the abundances table in the form of a matrix where the rows are samples and the column are taxa.
abundances_matrix(
ta,
value = abundance,
sample_name = sample,
taxon_name = taxon
)
ta |
A tidyamplicons object. |
value |
The name of a variable in the abundances table that contains the abundances (unquoted). Could be relative abundances, if present. |
sample_name |
The name of the variable in the sample table to use as row names (unquoted). |
taxon_name |
The name of the variable in the taxon table to use as column names (unquoted). |
A matrix with abundance values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.