celdaHeatmap,celda_CG-method {celda} | R Documentation

## Heatmap for celda_CG

### Description

Renders an expression heatmap to visualize 'celda_CG()' results. The top 'nfeatures' for each module will be included in the heatmap.

### Usage

    ## S4 method for signature 'celda_CG'
    celdaHeatmap(counts, celdaMod, nfeatures = 25, ...)

### Arguments

`counts` | Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate. 'celdaMod'.
`celdaMod` | Celda object of class 'celda_CG'.
`nfeatures` | Integer. Maximum number of features to select for each module. Default 25.
`...` | Additional parameters.

### Value

A list containing dendrograms and the heatmap grob

### See Also

'celda_CG()' for clustering features and cells and 'celdaTsne()' for generating 2-dimensional coordinates.

### Examples

    data(celdaCGSim, celdaCGMod)
    celdaHeatmap(celdaCGSim$counts, celdaCGMod)

[Package celda version 1.0.4 Index]