importCDS {monocle} | R Documentation |
This function takes a monocle CellDataSet and converts it to another type of object used in another popular single cell analysis toolkit. It currently supports Scran and Seurat packages.
importCDS(otherCDS, import_all = FALSE)
otherCDS |
the object you would like to convert into a monocle cds |
import_all |
Whether or not to import all the slots in seurat or scatter. Default is FALSE (or only keep minimal dataset). |
a new monocle cell dataset object converted from other objects (Scatter or Seurat).
## Not run: lung <- load_lung() seurat_lung <- exportCDS(lung) seurat_lung_all <- exportCDS(lung, export_all = T) scater_lung <- exportCDS(lung, export_to = 'Scater') scater_lung_all <- exportCDS(lung, export_to = 'Scater', export_all = T) importCDS(seurat_lung) importCDS(seurat_lung, import_all = T) importCDS(seurat_lung_all) importCDS(seurat_lung_all, import_all = T) importCDS(scater_lung) importCDS(scater_lung, import_all = T) importCDS(scater_lung_all) importCDS(scater_lung_all, import_all = T) ## End(Not run)