plot_taxa.Rd
Plots relative distribution for taxa across samples.
plot_taxa(ps, level = "Phylum", sort = TRUE, max_taxa = 12, only_data = FALSE)
ps | A phyloseq data set. |
---|---|
level | The taxonomy level to use. Defaults to phylum. |
sort | Whether to sort taxa by abundance across all samples. |
max_taxa | Maximum number of different taxa to plot. If more than 12 there is probably no color scale that can visualize them. |
only_data | Only get the raw data for the plot as a data table. |
Nothing or a data.table containing the relative abundances.
NULL#> NULL