PlotTree {CHETAH} | R Documentation |
Plots the chetah classification tree with nodes numbered
PlotTree(input, col = NULL, col_nodes = NULL, return = FALSE, no_bgc = FALSE, plot_limits = c(-0.4, 0.1), labelsize = 6)
input |
a SingleCellExperiment on which |
col |
a vector of colors, with the names of the reference cell types |
col_nodes |
a vector of colors, ordered for node 1 till the last node |
return |
instead of printing, return the ggplot object |
no_bgc |
remove the background color from the node numbers |
plot_limits |
define the Decreasing the former further is usefull when the labels are cut of the plot (default = c(-0,25, 01)). |
labelsize |
the size of the intermediate and leaf node labels (default = 6) |
A ggplot object of the classification tree
PlotTree(input = input_mel)