plotGroupedBars: Plot grouped bar plot of significant taxa at each rank of all...

View source: R/plotGroupedBars.R

plotGroupedBarsR Documentation

Plot grouped bar plot of significant taxa at each rank of all groups

Description

Plot grouped bar plot of significant taxa at each rank of all groups

Usage

plotGroupedBars(
  dataset = NULL,
  abun_thresh = 0,
  plotSigs = T,
  ftlist = NULL,
  addfts = NULL,
  factor = NULL,
  stratify = FALSE,
  flattenFactors = FALSE,
  facet.x = FALSE,
  facet.y = FALSE,
  width = 12,
  alpha = 0.05,
  param = F,
  byrank = F
)

Arguments

dataset

MicroVis dataset. Defaults to the active dataset

abun_thresh

Abundance cutoff for what features to show. Defaults to 0 (no threshold)

plotSigs

Plot significant features only. Defaults to TRUE

ftlist

(Optional) List of specific features to plot

addfts

(Optional) Additional features to plot in addition to significant ones

factor

Factor to perform statistical analysis by. Defaults to the active factor

stratify

Stratify by another factor? Defaults to FALSE

flattenFactors

Whether to combine factors. Defaults to FALSE

facet.x

(Optional) Factor to stratify horizontally

facet.y

(Optional) Factor to stratify vertically

width

Width of the saved figure (in inches). Defaults to 12 inches

alpha

Significance threshold. Defaults to 0.05

param

Whether to perform parametrized or nonparametrized univariate analysis. Defaults to FALSE (nonparametrized)

byrank

Facet the plot by rank? Defaults to FALSE

Value

Grouped bar plot of significant features


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.