getSelections: Get saved selections

getSelections,Vision-methodR Documentation

Get saved selections

Description

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

Usage

## S4 method for signature 'Vision'
getSelections(object)

Arguments

object

VISION object

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

viewResults(vis)

Value

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

Examples

## Not run: 

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

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


## End(Not run)

YosefLab/FastProjectR documentation built on June 13, 2024, 4:20 p.m.