Select points on a scatterplot and get information about them
CellSelector(plot, object = NULL, ident = "SelectedCells", ...)
FeatureLocator(plot, ...)
If object
is NULL
, the names of the points selected;
otherwise, a Seurat object with the selected cells identity classes set to
ident
if (FALSE) { # \dontrun{
data("pbmc_small")
plot <- DimPlot(object = pbmc_small)
# Follow instructions in the terminal to select points
cells.located <- CellSelector(plot = plot)
cells.located
# Automatically set the identity class of selected cells and return a new Seurat object
pbmc_small <- CellSelector(plot = plot, object = pbmc_small, ident = 'SelectedCells')
} # }