View source: R/abundance_plot.R
abundance_plot | R Documentation |
Plots abundance among samples and groups (sample_group) at specific taxonomic level.
abundance_plot(otu, taxa, sample, sample_group, rank)
otu |
a community count data matrix with samples in rows and OTUs/taxa in column, |
taxa |
a taxa information matrix. The rownames must match the OTU names (taxa_names) of the otu, |
sample |
a sample information data.frame. The rownames must match the sample names in the otu, |
sample_group |
the name of a column that containing the sample type/group, |
rank |
a taxonomic rank (Phylum or Class or Order or Family or Genus or Species), |
Plots abundance among samples and groups (sample_group) at specific taxonomic level.
two subfigures containing abundance among samples and groups (sample_group) at specific taxonomic level.
abundance_plot(otu, taxa, sample, sample_group, 'Genus')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.