plotClusterHeatmap: Visualization heatmap of cluster data of CYT

Description Usage Arguments Value Examples

View source: R/plot2D.R

Description

Visualization heatmap of cluster data of CYT

Usage

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

Arguments

object

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

plotClusterHeatmap(cyt)
plotClusterHeatmap(cyt, color = colorRampPalette(c("purple","white","yellow"))(100))
plotClusterHeatmap(cyt, cluster_row = FALSE)
plotClusterHeatmap(cyt, cluster_row = FALSE, cluster_col = FALSE)

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