Description Usage Arguments Examples
plot metabolomics heatmap designed for use with gg.stack with other patient metadata, 16S, etc using 'Sample_ID' on the x axis
1 | plot_meta_hm(data, row_mean_centered = T, organize_by = "method")
|
data |
dataframe containing all metabolite data in long form for one patient. should have the following variables: Sample_ID, compound, peak, method |
row_mean_centered |
whether to center by mean peak area per compound, default = TRUE |
organize_by |
either facet by method or order by hierarchical cluster. options are: "method" or "cluster" |
1 2 | meta_plot <- plot_meta_hm(meta,row_mean_centered=T,organize_by="cluster")
gg.stack(tax,meta.plot,heights=c(1,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.