| plot_nodes | R Documentation |
Plot the distribution of the observed cells at each node of the binary tree built using CytomeTree.
plot_nodes( CytomeTreeObj, nodes = NULL, nodesPerCol = NULL, nodesPerRow = NULL, ... )
CytomeTreeObj |
An object of class CytomeTree. |
nodes |
A list of character elements containing the name of
the nodes for which the distribution is to be plotted. Default is
|
nodesPerCol |
an integer specifying the number of plots to be
displayed per column when plotting multiple nodes at once. Default is
|
nodesPerRow |
an integer specifying the number of plots to be
displayed per row when plotting multiple nodes at once. Default is
|
... |
further arguments to be passed to |
if both nodesPerCol and nodesPerRow are NULL
then all the nodes are plotted on a single page.
a list of ggplot2 plot objects, containing each node plot.
Chariff Alkhassim, Boris Hejblum
data(DLBCL)
myct <- CytomeTree(DLBCL[, c("FL1", "FL2", "FL4")], minleaf = 1, t=.1)
plot_nodes(myct)