Create marker correlation heatmaps clustered by hclust.
A Seurat object
Layers of the default assay.
A character string indicating which correlation coefficient is to be computed. See cor.
The agglomeration method to be used. See hclust.
The output of the function. Available options: plot (default), and matrix.
Parameter passed to dist
A list of ggplot object or a list of dist matrix.