plotHeatmap {flowSpy} | R Documentation

## Visualization heatmap of data of FSPY

### Description

Visualization heatmap of data of FSPY

### Usage

    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

    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)

    }

[Package flowSpy version 1.0.4 Index]