convert_to_seurat: Convert an SCE object to Seurat

View source: R/objects.R

convert_to_seuratR Documentation

Convert an SCE object to Seurat

Description

Convert an SCE object to a Seurat object. if targets is true (default), output only droplets that are called as not debris. If meta is TRUE, then output meta data from droplet_info to the meta.data slot in the Seurat object. Additional functions ... to this function are passed onto CreateSeuratObject. Common arguments include min.cells = 3 and min.features = 200.

Usage

convert_to_seurat(x, targets = TRUE, meta = TRUE, ...)

Arguments

x

An SCE object.

targets

Logical indicating whether to remove droplets called as debris. If FALSE, return counts for the test set. Default is TRUE.

meta

Logical that indicates whether to place the data from droplet_info into meta.data in the resulting Seurat object. Default is TRUE.

...

Arguments to CreateSeuratObject, such as project for project name.

Value

A Seurat object

Examples


mm_seur <- convert_to_seurat(x = mb_small, 
                             targets = FALSE, 
                             min.features = 200, 
                             min.cells = 3, 
                             project = mb_small@name)


marcalva/diem documentation built on Jan. 1, 2023, 2:33 a.m.