celdaHeatmap,celda_G-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_G'
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_G'.

nfeatures

Integer. Maximum number of features to select for each module. Default 25.

...

Additional parameters.

Value

list A list containing the dendrograms and the heatmap grob.

See Also

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

Examples

data(celdaGSim, celdaGMod)
celdaHeatmap(celdaGSim$counts, celdaGMod)

[Package celda version 1.0.1 Index]