celdaProbabilityMap,celda_CG-method {celda} | R Documentation

## Probability map for a celda_CG model

### Description

Renders probability and relative expression heatmaps to visualize the relationship between features and cell populations or cell populations and samples.

### Usage

    ## S4 method for signature 'celda_CG'
    celdaProbabilityMap(
      counts,
      celdaMod,
      level = c("cellPopulation", "sample"),
      ...
    )

### 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'.
`level` | Character. One of 'cellPopulation' or 'sample'. 'cellPopulation' will display the absolute probabilities and relative normalized expression of each module in each cell population. 'sample' will display the absolute probabilities and relative normalized abundance of each cell population in each sample. Default 'cellPopulation'.
`...` | Additional parameters.

### Value

A grob containing the specified plots

### See Also

'celda_CG()' for clustering features and cells

### Examples

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

[Package celda version 1.3.4 Index]