fullbartax | R Documentation |
The fullbartax()
function will create taxonomic composition for barcharts for all
7 taxonomic levels.
fullbartax(x, xvar = "Sample", lowabun = 0.01, yvar = "Abundance", cols = NULL)
x |
is a |
xvar |
is a categorical variable selected from the metadata. |
lowabun |
is the cut off value for a low-abundant group. |
yvar |
is the relative abundance of reads. |
cols |
is a vector containing specified colour values (sufficient number for number of taxonomic groups found at all levels). |
A list
of ggplot
objects.
## Not run:
library(mirlyn)
data(example)
fullbartax(example,"Sample", lowabun = 0.01, yvar="Abundance")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.