microbiome_bardata: microbiome_barplot

Description Usage Arguments Details Value

View source: R/microbiome_barplot.R

Description

Create a bacterial composition data for a plot

Usage

1
2
3
4
5
6
7
8
microbiome_bardata(
  physeq,
  level = c("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species"),
  plot_category,
  plot_percent = 10,
  threshold = "max",
  na_str = c("unidentified", "uncultured")
)

Arguments

physeq

phyloseq object

level

taxonomy level

plot_category

metadata category

plot_percent

threshold persent

threshold

the way of calculating threshold values

na_str

taxa name to be Undetermined

Details

Create a bacterial composition data using a specific threshold value.

Value

barplot of microbiome composition as ggplot2 input data


xvtyzn/nyankomicro documentation built on Jan. 21, 2022, 8:17 p.m.