cds_dimred_to_seurat: Copy dimension reductions from a cell data set (cds) object...

View source: R/cds_dimred_to_seurat.R

cds_dimred_to_seuratR Documentation

Copy dimension reductions from a cell data set (cds) object to respective slots of a Seurat object (SO)

Description

cds may have been created by monocle3.

Usage

cds_dimred_to_seurat(
  cds,
  SO,
  reductions = NULL,
  suffix = "monocle",
  assay = "RNA"
)

Arguments

cds

a cell data set

SO

an Seurat object

reductions

which reductions to copy; must be one or multiple of names(SingleCellExperiment::reducedDims(cds))

suffix

which suffix to add to the reduction names in the Seurat object

assay

which assay the dimension reduction were originally based on; must be one of names(SO@assays)


Close-your-eyes/scexpr documentation built on April 21, 2023, 10:27 a.m.