plot_nodes: Plot the distribution of the observed cells at each node of...

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot_nodes.R

Description

Plot the distribution of the observed cells at each node of the binary tree built using CytomeTree.

Usage

1
2
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 NULL, and plots the distribution for each node.

nodesPerCol

an integer specifying the number of plots to be displayed per column when plotting multiple nodes at once. Default is NULL.

nodesPerRow

an integer specifying the number of plots to be displayed per row when plotting multiple nodes at once. Default is NULL.

...

further arguments to be passed to plot_grid.

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

1
2
3
data(DLBCL)
myct <- CytomeTree(DLBCL[, c("FL1", "FL2", "FL4")], minleaf = 1, t=.1)
plot_nodes(myct)

chariff/Cytometree documentation built on May 20, 2019, 2:07 p.m.