Access saved groups of cell IDs defined while using the interactive output report

# S4 method for Vision
getSelections(object)

Arguments

object

VISION object

Value

Named list of selections. Each selection is a character vector of cell/pool IDs

Details

This method allows you to retrieve saved selections later in R for downstream analyses

Note: In order for selections to correctly save when launching the report, the report must be run by storing the results back into the object.

E.g.

vis <- viewResults(vis)

and not

Examples

if (FALSE) {

vis <- viewResults(vis)  # Selections saved while viewing results

# Retrieve cell IDs for a selection group named 'interesting cells'
interestingCells <- getSelections(vis)[['interesting cells']]

}