phylo.barplot: phylo.barplot

Description Usage Arguments Value Author(s) References Examples

View source: R/phylo.barplot.R

Description

Barplot for *ITChip sample (across taxa) with higher-level taxonomic groups indicated by colours.

Usage

1
2
phylo.barplot(x, color.level = "L1", phylogeny.info = NULL, title = NULL,
  plot = TRUE, sort = TRUE)

Arguments

x

Data vector across taxa (each element should be named by taxon)

color.level

Higher-order phylogenetic level to indicate by colors

phylogeny.info

oligo-phylotype mappings

title

title

plot

draw plot TRUE/FALSE

sort

sort the effects by magnitude

Value

ggplot2 object

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
3
4
data(peerj32)
  phylogeny.info <- GetPhylogeny('HITChip', 'filtered')
  signal <- unlist(peerj32$microbes[1, 1:10])
  p <- phylo.barplot(signal, 'L1', phylogeny.info)

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