makeHumann2Barplot: makeHumann2Barplot

Description Usage Arguments

View source: R/humann2_tools.R

Description

Generates barplots statified by taxon and metadata

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
makeHumann2Barplot(
  dat,
  last.plot.colors,
  scale = "proportional-log",
  use.random.colors = T,
  hide.legend = T,
  space = "fixed",
  show.all.taxa = T,
  fixed.floor = NULL,
  fixed.ymax = NULL,
  sample.threshold = 10,
  hide.strata.legend = F
)

Arguments

dat

table holding preprocessed humann2 information using 'humann2Barplot'

last.plot.colors

dataframe of plot colors

scale

how to scale the height of bars, on default proportional-log

use.random.colors

use randomcoloR instead of RColorBrewer

hide.legend

boolean information if ledgend should be included

space

free or fixed (x scale)

show.all.taxa

boolean

fixed.floor

set ymin to a fixed value to prevent focus on minor bugs

fixed.ymax

set xmax to a fixed value keep y axis on multiple plots comparable

sample.threshold

minimum number of samples per strata required for plotting

hide.strata.legend

hide color legend


philippmuench/PMtools documentation built on Dec. 27, 2019, 8:08 a.m.