Produces a heatmap from a 'cellMarkers' or 'deconv' class object showing estimated amount of spillover between cell subclasses. The amount that each cell subclass's overall vector spillovers (projects) into other cell subclasses' vectors is shown in each row. Thus the column gives an estimate of how much the most influential (specific) genes for a cell subclass are expressed in other cells.
spillover_heatmap(
x,
text = NULL,
cutoff = 0.5,
fontsize = 8,
subset = NULL,
...
)No return value. Draws a heatmap using ComplexHeatmap.
Either a 'cellMarkers' or 'deconv' class object or a spillover matrix.
Logical whether to show values of cells where spillover >
cutoff. By default only shown for smaller matrices.
Threshold for showing values.
Numeric value for font size for cell values when
text = TRUE.
Character vector of groups to be subsetted.
Optional arguments passed to ComplexHeatmap::Heatmap().