plotmarker {microbial} | R 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")
[Package microbial version 0.0.21 Index]