plot_cor_heatmap: Plot similarity measures on heatmap

Description Usage Arguments Value Examples

View source: R/plot.R

Description

Plot similarity measures on heatmap

Usage

1
2
3
4
5
6
7
8
plot_cor_heatmap(
  cor_mat,
  metadata = NULL,
  cluster_col = NULL,
  col = not_pretty_palette,
  legend_title = NULL,
  ...
)

Arguments

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

Value

complexheatmap object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.