Miscellaneous helper functions mostly for comparative genomics, metagenomics and package development from P. Münch at LMU Munich & Helmholtz Centre for Infection Research.

install.packages("devtools")
devtools::install_github("philippmuench/PMtools")

usage

HUMAnN2 tools

generation of barplots

# load example datasets
data(humann2_table)
data(hmp1_2_metadata)
data(hmp1_2_metaphlan)

Command to generate a figure of a single feature. Set num.bugs = "auto" to automatically adjust the number of bugs needed to show 25% of RA

re-use colors

you can also plot multiple features into one figure