plotBPlot {MetaNeighbor} | R Documentation

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

### Description

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

### Usage

    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

    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)

[Package MetaNeighbor version 1.10.0 Index]