celdaProbabilityMap,celda_CG-method {celda} | R Documentation |
Renders probability and relative expression heatmaps to visualize the relationship between features and cell populations or cell populations and samples.
## S4 method for signature 'celda_CG' celdaProbabilityMap( counts, celdaMod, level = c("cellPopulation", "sample"), ... )
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. |
A grob containing the specified plots
'celda_CG()' for clustering features and cells
data(celdaCGSim, celdaCGMod) celdaProbabilityMap(celdaCGSim$counts, celdaCGMod)