View source: R/plotTidyHeatmap.R
plotTidyHeatmap | R Documentation |
Creates a Heatmap using 'TidyHeatmap' and 'ComplexHeatmap'
plotTidyHeatmap( x, select_taxa = NULL, group_samples_by = NULL, add_taxa_label = TRUE, ... )
x |
|
select_taxa |
Features to plot. |
group_samples_by |
A column in |
add_taxa_label |
Logical. Default is TRUE. |
... |
Arguments forwarded to tidyHeatmap::heatmap and ComplexHeatmap::Heatmap. |
A TidyHeatmap plotting wrapper for phyloseq-class
object.
a heatmap
object.
Sudarshan A. Shetty
Shetty SA (2021). Data visualization for microbiome analytics. https://github.com/microsud/biomeViz
library(biomeUtils) library(biomeViz) library(microbiome) library(dplyr) ps <- FuentesIliGutData %>% microbiome::transform("compositional") select_taxa <- findTopTaxa(ps, top= 10, method="mean") plotTidyHeatmap(ps, select_taxa = select_taxa, group_samples_by = "ILI", add_taxa_label = FALSE, cluster_rows = FALSE, .scale = "none", transform = NULL, palette_value = c("red", "white", "blue"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.