plot_cor_heatmap {clustifyr} | R Documentation

## Plot similarity measures on heatmap

### Description

Plot similarity measures on heatmap

### Usage

    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

    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)

[Package clustifyr version 1.6.0 Index]