makeHumann2Barplot.RdGenerates barplots statified by taxon and metadata
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 )
| 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 |