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

View source: R/plot.R

plotmarkerR Documentation

plot the biomarker from the biomarker function with randomForest

Description

plot the biomarker from the biomarker function with randomForest

Usage

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


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


guokai8/microbial documentation built on Oct. 15, 2024, 11:32 p.m.