plotPieTree: plot MST pie of FSPY

Description Usage Arguments Value Examples

View source: R/plotTree.R

Description

plot MST pie of FSPY

Usage

1
2
3
4
5
6
7
8
plotPieTree(
  object,
  cex.size = 2,
  size.by.cell.number = TRUE,
  as.tree = FALSE,
  root.id = NULL,
  show.node.name = FALSE
)

Arguments

object

an FSPY object

cex.size

numeric. size cex of the dot

size.by.cell.number

logical. Whether to size node by cell number

as.tree

logical. Whether to show node as tree

root.id

numeric. Root id of the tree, if as.tree is TRUE

show.node.name

logical. whether to show node name

Value

ggplot2 figure

Examples

1
2
3
4
5
6
7
if (FALSE) {

# Runs only have two or more stages
plotPieTree(fspy, cex.size = 1, size.by.cell.number = T) +
   scale_fill_manual(values = c("#00599F","#FF3222","#009900",
                                "#FF9933","#FF99FF","#7A06A0"))
}

JhuangLab/flowSpy documentation built on July 15, 2020, 8:31 a.m.