Learn R Programming

monocle3 (version 1.0.0)

choose_cells: 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.