plotUpset {MetaNeighbor} | R Documentation

## Plot Upset plot showing how replicability depends on input dataset.

### Description

Plot Upset plot showing how replicability depends on input dataset.

### Usage

    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

    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)

[Package MetaNeighbor version 1.14.0 Index]