plotBranchHeatmap: Visualization heatmap of branch data of FSPY

Description Usage Arguments Value Examples

View source: R/plot2D.R

Description

Visualization heatmap of branch data of FSPY

Usage

1
2
3
4
5
6
plotBranchHeatmap(
  object,
  color = colorRampPalette(c("blue", "white", "red"))(100),
  scale = "row",
  ...
)

Arguments

object

An FSPY object

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) {

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

}

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