plotHeatmap: Visualization heatmap of data of FSPY

Description Usage Arguments Value Examples

View source: R/plot2D.R

Description

Visualization heatmap of data of FSPY

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotHeatmap(
  object,
  markers = NULL,
  color = colorRampPalette(c("blue", "white", "red"))(100),
  scale = "row",
  downsize = 1000,
  cluster_rows = FALSE,
  cluster_cols = FALSE,
  ...
)

Arguments

object

An FSPY object

markers

vector. 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"

downsize

numeric. Cells size used to plot heatmap

cluster_rows

logical. Whether rows should be clustered

cluster_cols

logical. Whether columns should be clustered

...

options to pass on to the pheatmap function.

Value

ggplot2 figure

Examples

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

plotHeatmap(fspy)
plotHeatmap(fspy, cluster_rows = T)
plotHeatmap(fspy, cluster_rows = T, clustering_method = "ward.D")
plotHeatmap(fspy, cluster_rows = T, cluster_cols = T)

}

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