core_heatmap: core_heatmap

Description Usage Arguments Value Author(s) References Examples

View source: R/core.R

Description

Heatmap of core microbiota

Usage

1
2
core_heatmap(data, detection.thresholds = NULL, plot = TRUE,
  palette = "bw")

Arguments

data

data matrix: phylotypes vs. samples

detection.thresholds

Vector of detection thresholds

plot

plot the figure

palette

'bw' (grayscale) or 'spectral' (colourscale)

Value

List with the following elements: plot: ggplot figure data: prevalence data with the varying thresholds

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

A Salonen et al. The adult intestinal core microbiota is determined by analysis depth and health status. Clinical Microbiology and Infection 18(S4):16 20, 2012. To cite the microbiome R package, see citation('microbiome')

Examples

1
2
data(peerj32)
  core <- core_heatmap(t(peerj32$microbes))

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.