plot_counts | R Documentation |
Plots counts for several taxa across a co-variable
plot_counts(
ps,
variable,
tax_level = "genus",
taxa = NULL,
normalized = TRUE,
pc = 0.5,
only_data = FALSE
)
ps |
A phyloseq data set. |
variable |
The name of the co-variable. |
tax_level |
The taxonomy level to use. Defaults to genus. |
taxa |
A character vector denoting the taxa to be plotted. Defaults to plotting all taxa. |
normalized |
Whether to normalize the counts using the DESeq2 size factors. |
pc |
The pseudo count to add. |
only_data |
Only get the raw data for the plot. |
Nothing.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.