View source: R/phyloseq_taxonomic_resolution.R
phyloseq_taxonomic_resolution | R Documentation |
Estimate taxonomic resolution of data
phyloseq_taxonomic_resolution(physeq, add_counts = TRUE, justDF = FALSE)
physeq |
A phyloseq-class object |
add_counts |
Logical, add read and OTU counts on top of the bars (default, TRUE) |
justDF |
Logical, just return the data.frame, do not plot (default, FALSE) |
This function counts the number of OTUs and reads annotated at the lowest level of taxonomic classification and shows it on a barplot.
ggplot-object (if justDF = FALSE) or a data.frame (if justDF = TRUE).
get_max_taxonomic_rank
data(GlobalPatterns)
gpt <- phyloseq_taxonomic_resolution(GlobalPatterns)
gpt
gpt$data_wide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.