convert_to_seurat: Convert an SCE object to Seurat

Description Usage Arguments Value Examples

View source: R/objects.R

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

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

Arguments

x

An SCE object.

targets

Logical indicating whether to remove droplets called as debris. 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

1
2
3
4
5
mm_seur <- convert_to_seurat(x = mb_small, 
                             targets = FALSE, 
                             min.features = 500, 
                             min.cells = 3, 
                             project = mb_small@name)

diem documentation built on Nov. 16, 2019, 1:08 a.m.