Plot selector
plot_selector.Rd
Plot an interactive DimPlot or FeaturePlot to identify cells. If no ggplot object is provided, the function builds it. Otherwise, it makes interactive the provided ggplot object with the information from the Seurat object.
Usage
plot_selector(
sobj = NULL,
ggobj = NULL,
info_to_plot = "orig.ident",
info_to_read = "orig.ident",
...
)
Arguments
- sobj
A Seurat object (mandatory)
- ggobj
A ggplot object (facultative)
- info_to_plot
CHARACTER : something to color cells by. Used only if ggobj is not null (default to 'orig.ident')
- info_to_read
CHARACTER : a character vector with informations to read when selecting a cell (default to 'orig.ident')
- ...
other parameters for DimPlot or FeaturePlot, such as cols, slot, assay, reduction, pt.size...