Create marker correlation heatmaps clustered by hclust.

markerCorrelation(
  seu,
  layers = Layers(seu),
  method = c("spearman", "pearson", "kendall"),
  hclust_method = "complete",
  output = c("plot", "matrix"),
  ...
)

Arguments

seu

A Seurat object

layers

Layers of the default assay.

method

A character string indicating which correlation coefficient is to be computed. See cor.

hclust_method

The agglomeration method to be used. See hclust.

output

The output of the function. Available options: plot (default), and matrix.

...

Parameter passed to dist

Value

A list of ggplot object or a list of dist matrix.