choose_cells: Choose cells interactively to subset a cds

View source: R/select_cells.R

choose_cellsR Documentation

Choose cells interactively to subset a cds

Description

Choose cells interactively to subset a cds

Usage

choose_cells(
  cds,
  reduction_method = c("UMAP", "tSNE", "PCA", "Aligned"),
  clear_cds = FALSE,
  return_list = FALSE
)

Arguments

cds

CDS object to subset

reduction_method

The reduction method to plot while choosing cells.

clear_cds

Logical, clear CDS slots before returning. After clearing the cds, re-run processing from preprocess_cds(), ... Default is FALSE.

return_list

Logical, return a list of cells instead of a subsetted CDS object.

Value

A subset CDS object. If return_list = FALSE, a list of cell names.


cole-trapnell-lab/monocle3 documentation built on May 24, 2022, 5:25 p.m.