plotPieTree: plot MST pie of CYT

Description Usage Arguments Value Examples

View source: R/plotTree.R

Description

plot MST pie of CYT

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

a CYT 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
cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)

# Runs only have two or more stages
plotPieTree(cyt, cex.size = 1, size.by.cell.number = TRUE) 

JhuangLab/CytoTree documentation built on Nov. 16, 2020, 7:23 a.m.