PlotSampleTaxaAundanceBar: Function to create bar plots of selected taxa level.

View source: R/mdp_utils.R

PlotSampleTaxaAundanceBarR Documentation

Function to create bar plots of selected taxa level.

Description

This functions creates bar plots of a selected taxa level.

Usage

PlotSampleTaxaAundanceBar(
  mbSetObj,
  barplotName,
  taxalvl,
  samplnm,
  imgOpt,
  feat_cnt,
  toptaxa,
  abunTopTaxaOpt,
  appendnm,
  format = "png",
  dpi = 72
)

Arguments

mbSetObj

Input the name of the mbSetObj.

barplotName

Character, input the name of the bar plot.

taxalvl

Character, input the taxonomic level to perform classification. For instance, "Genus" to use the Genus level.

format

Character, input the preferred format of the plot. By default it is set to "png".

dpi

Numeric, input the dots per inch. By default it is set to 72.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MicrobiomeAnalystR documentation built on April 17, 2024, 7:45 p.m.