plot_cor_heatmap {clustifyr} | R Documentation |
Plot similarity measures on heatmap
plot_cor_heatmap( cor_mat, metadata = NULL, cluster_col = NULL, col = not_pretty_palette, legend_title = NULL, ... )
cor_mat |
input similarity matrix |
metadata |
input metadata with per cell tsne or umap cooordinates and cluster ids |
cluster_col |
colname of clustering data in metadata, defaults to rownames of the metadata if not supplied. |
col |
color ramp to use |
legend_title |
legend title to pass to Heatmap |
... |
passed to Heatmap |
complexheatmap object
res <- clustify( input = pbmc_matrix_small, metadata = pbmc_meta, ref_mat = cbmc_ref, query_genes = pbmc_vargenes, cluster_col = "classified", per_cell = FALSE ) plot_cor_heatmap(res)