ProduceComboHeatmapFromMatrix: Produce Combo Heatmap From Matrix

View source: R/Seurat_based.R

ProduceComboHeatmapFromMatrixR Documentation

Produce Combo Heatmap From Matrix

Description

This function produces a combination heatmap from a matrix using Seurat object.

Usage

ProduceComboHeatmapFromMatrix(
  SerObj,
  mat,
  markerVec,
  pairedList,
  pairedList2,
  labelColumn,
  prefix,
  adtoutput = "unpaired",
  rowsplit = NULL,
  columnsplit = NULL,
  size,
  coldend = TRUE,
  rowdend = TRUE,
  coldendside = "bottom",
  rowdendside = "left",
  fontsize = 12,
  titlefontsize = 14,
  gap = 0
)

Arguments

SerObj

A Seurat object containing the single-cell RNA-seq data.

mat

A matrix object containing the data for generating the heatmap.

markerVec

A vector of marker genes to be used for generating the heatmap.

pairedList

A list of paired conditions for the first set of markers.

pairedList2

A list of paired conditions for the second set of markers.

labelColumn

A column name or index in the metadata of SerObj to be used as labels for the heatmap.

prefix

A prefix for the output file name.

adtoutput

Output type for ADT features. Default is "unpaired".

rowsplit

A vector of row splits for the heatmap.

columnsplit

A vector of column splits for the heatmap.

size

Size of the heatmap. Default is NULL.

coldend

A logical value indicating whether to add dendrogram on the columns. Default is TRUE.

rowdend

A logical value indicating whether to add dendrogram on the rows. Default is TRUE.

coldendside

A character value specifying the side to place the column dendrogram. Default is "bottom".

rowdendside

A character value specifying the side to place the row dendrogram. Default is "left".

fontsize

Font size for the heatmap labels. Default is 12.

titlefontsize

Font size for the title of the heatmap. Default is 14.

gap

Gap between the heatmaps. Default is 0.

Value

A combo heatmap plot.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.