plotClusterHeatmap {CytoTree} | R Documentation

## Visualization heatmap of cluster data of CYT

### Description

Visualization heatmap of cluster data of CYT

### Usage

    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

    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)

[Package CytoTree version 1.0.3 Index]