getSelections,Vision-method | R Documentation |
Access saved groups of cell IDs defined while using the interactive output report
## S4 method for signature 'Vision'
getSelections(object)
object |
VISION object |
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)
Named list of selections. Each selection is a character vector of cell/pool IDs
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.