Make a heatmap of global or contrast markers.
Arguments
- seu
A
Seurat
object.- params
A tibble. See
cluster_markers_heatmap_params
orcontrasts_heatmap_params
target for details.- marker_type
A character scalar.
- save
A logical scalar. If
TRUE
, the heatmap will be saved toparams$out_file
.- return_type
A character scalar. For
"file"
, returnparams$out_file
. For"tibble"
, return a modifiedparams
tibble with appended list columns:heatmaps
: contains named lists of heatmap objects (p_heatmap
,p_heatmap_z_score
)markers_top
: dataframe with top markers used for heatmap generation.