distHeatMap: distHeatMap

Description Usage Arguments

View source: R/Visualization.R

Description

plot contribution of each modality on a N*N heatmap

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
distHeatMap(
  object = NULL,
  assay = "Joint",
  cell.num = 1000,
  group.by = NULL,
  colors = c("yellow", "green"),
  group.bar = TRUE,
  label = FALSE,
  size = 5.5,
  hjust = 0,
  angle = 90,
  dims = 20
)

Arguments

object

seurat object

assay

Assay name. Default is "Joint"

cell.num

number of cells in heatmap. For large datasets, user may want to reduce the number of cells. Default value is set to 1000, indicate 1000 cells at maximum.

group.by

order cells by cell clusters. If set to NULL, will use current ident.

colors

two distinct colors for ADT and RNA.

group.bar

Add a color bar showing group status for cells

label

Label the cell identies above the color bar

size

Size of text above color bar

hjust

Horizontal justification of text above color bar

angle

angle of cluster label

dims

If RNA distance is not available, dims of PCA used to calculate RNA distance.


WilsonImmunologyLab/LinQView documentation built on Jan. 3, 2022, 10 p.m.