plot_tree | R Documentation |
View scGate model as a decision tree (require ggparty package)
plot_tree(model, box.size = 8, edge.text.size = 4)
model |
A scGate model to be visualized |
box.size |
Box size |
edge.text.size |
Edge text size |
A plot of the model as a decision tree. At each level, green boxes indicate the 'positive' (accepted) cell types, red boxed indicate the 'negative' cell types (filtered out). The final Pure population is the bottom right subset in the tree.
library(ggparty)
models <- get_scGateDB()
plot_tree(models$human$generic$Tcell)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.