heatmap_plot: heatmap_plot

View source: R/heatmap_plot.R

heatmap_plotR Documentation

heatmap_plot

Description

Plots heatmap based on count data, relative abundance data, clr transformation data or log10 transformation data.

Usage

heatmap_plot(otu, taxa, sample, rank)

Arguments

otu

a community count data matrix with samples in rows and OTUs/taxa in column,

taxa

a taxa information matrix. The rownames must match the OTU names (taxa_names) of the otu,

sample

a sample information data.frame. The rownames must match the sample names in the otu,

rank

a taxonomic rank (Phylum or Class or Order or Family or Genus or Species),

Details

Plots abundance among samples and groups (SampleType) at specific taxonomic level.

Value

four heatmap with clustering abundance based on different transformation methods.

Examples

 heatmap_plot(otu, taxa, sample, 'Genus')

lindan1128/coreMicrobiome documentation built on May 5, 2022, 8:24 p.m.