View source: R/dominant_taxa.R
dominant_taxa | R Documentation |
Identify dominant taxa in each sample and give overview.
dominant_taxa(x, level = NULL, group = NULL)
x |
|
level |
Taxonomic level uses microbiome::aggregate_taxa |
group |
Provide overview by groups. Default=NULL |
Identifies the dominant taxa in each sample and gives an overview of frequency and percent sample that are dominated by each taxon. Can be group wise or overall.
A list of two data frames/tibbles
library(microbiomeutilities) library(dplyr) data("zackular2014") p0 <- zackular2014 x.d <- dominant_taxa(p0, level = "Genus", group = "DiseaseState") head(x.d$dominant_overview)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.