plotHeatmap: Plots symmetric AUROC heatmap, clustering cell types by...

Description Usage Arguments Examples

View source: R/visualization.R

Description

Plots symmetric AUROC heatmap, clustering cell types by similarity.

Usage

1
plotHeatmap(aurocs, cex = 1, margins = c(8, 8))

Arguments

aurocs

A square AUROC matrix as returned by MetaNeighborUS.

cex

Size factor for row and column labels.

margins

Size of margins (for row and column labels).

Examples

1
2
3
4
5
6
7
data(mn_data)
var_genes = variableGenes(dat = mn_data, exp_labels = mn_data$study_id)
celltype_NV = MetaNeighborUS(var_genes = var_genes,
                             dat = mn_data,
                             study_id = mn_data$study_id,
                             cell_type = mn_data$cell_type)
plotHeatmap(celltype_NV)

MetaNeighbor documentation built on Nov. 8, 2020, 5:40 p.m.