plotmarker: plot the biomarker from the biomarker function with...

Description Usage Arguments Value Author(s) Examples

View source: R/plot.R

Description

plot the biomarker from the biomarker function with randomForest

Usage

1
2
3
4
5
6
7
8
9
plotmarker(
  x,
  level = "Genus",
  top = 30,
  rotate = FALSE,
  dot.size = 8,
  label.color = "black",
  label.size = 6
)

Arguments

x

biomarker results from randomForest

level

the bacteria level to display

top

the number of important biomarker to draw

rotate

TRUE/FALSE

dot.size

size for the dot

label.color

label color

label.size

label size

Value

ggplot2 object

Author(s)

Kai Guo

Examples

1
2
3
data("Physeq")
res <- biomarker(physeq,group="group")
plotmarker(res,level="Genus")

microbial documentation built on Nov. 1, 2021, 5:08 p.m.