plotBPlot: Plot Bean Plot, showing how replicability of cell types...

Description Usage Arguments Examples

View source: R/visualization.R

Description

Plot Bean Plot, showing how replicability of cell types depends on gene sets.

Usage

1
plotBPlot(nv_mat, hvg_score = NULL, cex = 1)

Arguments

nv_mat

A rectangular AUROC matrix as returned by MetaNeighbor, where each row is a gene set and each column is a cell type.

hvg_score

Named vector with AUROCs obtained from a set of Highly Variable Genes (HVGs). The names must correspond to cell types from nv_mat. If specified, the HVG score is highlighted in red.

cex

Size factor for row and column labels.

Examples

1
2
3
4
5
6
7
8
9
data("mn_data")
data("GOmouse")
library(SummarizedExperiment)
AUROC_scores = MetaNeighbor(dat = mn_data,
                            experiment_labels = as.numeric(factor(mn_data$study_id)),
                            celltype_labels = metadata(colData(mn_data))[["cell_labels"]],
                            genesets = GOmouse,
                            bplot = FALSE)
plotBPlot(AUROC_scores)

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