plot_nodes {cytometree} | R Documentation |
Plot the distribution of the observed cells at each node of the binary tree built using CytomeTree.
Description
Plot the distribution of the observed cells at each node of the binary tree built using CytomeTree.
Usage
plot_nodes(
CytomeTreeObj,
nodes = NULL,
nodesPerCol = NULL,
nodesPerRow = NULL,
...
)
Arguments
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 |
Details
if both nodesPerCol
and nodesPerRow
are NULL
then all the nodes are plotted on a single page.
Value
a list of ggplot2
plot objects, containing each node plot.
Author(s)
Chariff Alkhassim, Boris Hejblum
Examples
data(DLBCL)
myct <- CytomeTree(DLBCL[, c("FL1", "FL2", "FL4")], minleaf = 1, t=.1)
plot_nodes(myct)