plotUpset: Plot Upset plot showing how replicability depends on input...

Description Usage Arguments Examples

View source: R/visualization.R

Description

Plot Upset plot showing how replicability depends on input dataset.

Usage

1
plotUpset(metaclusters, min_recurrence = 2, outlier_name = "outliers")

Arguments

metaclusters

Metaclusters extracted from MetaNeighborUS analysis.

min_recurrence

Only show replicability structure for metaclusters that are replicable across at least min_recurrence datasets.

outlier_name

In metaclusters, name assigned to outliers (clusters that did not match with any other cluster)

Examples

1
2
3
4
5
6
7
8
9
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,
                             fast_version = TRUE, one_vs_best = TRUE)
mclusters = extractMetaClusters(celltype_NV)
plotUpset(mclusters)

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