plotTrajHeatmap: Visualization heatmap of intermediate cells of FSPY

Description Usage Arguments Value Examples

View source: R/plot2D.R

Description

Visualization heatmap of intermediate cells of FSPY

Usage

1
2
3
4
5
6
7
8
plotTrajHeatmap(
  object,
  cutoff = 0,
  markers = NULL,
  color = colorRampPalette(c("blue", "white", "red"))(100),
  scale = "row",
  ...
)

Arguments

object

An FSPY object

cutoff

numeric. value to identify intermediate state cells

markers

markers to plot on the heatmap

color

vector. Colors used in heatmap.

scale

character. Whether the values should be centered and scaled in either the row direction or the column direction, or none. Corresponding values are "row", "column" and "none"

...

options to pass on to the pheatmap function.

Value

ggplot2 figure

Examples

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

plotTrajHeatmap(fspy)
plotBranchHeatmap(fspy, color = colorRampPalette(c("purple","white","yellow"))(100))
plotBranchHeatmap(fspy, cluster_row = FALSE)
plotBranchHeatmap(fspy, cluster_row = FALSE, cluster_col = FALSE)

}

flowSpy documentation built on Nov. 8, 2020, 6:53 p.m.