-
Notifications
You must be signed in to change notification settings - Fork 7
02. plot_taxa_heatmap
Sudarshan edited this page Dec 28, 2017
·
1 revision
Many times heatmaps are used in microbiome data analysis. The function plot_taxa_heatmap
uses input as phyloseq object and employs pheatmap for creating pretty heatmaps.
library(microbiomeutilities)
library(viridis)
data("biogeogut")
pseq <- biogeogut
p <- plot_taxa_heatmap(pseq, subset.top = 20, transformation = "compositional", VariableA = "SampleType")
print(p)
The plotting options can be extended for those available in pheatmap.