convert_seurat: convert_seurat

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

covert seurat object into matrix format (same result format as importdata function)

Usage

1
convert_seurat(seurat_object, slot_option = "counts")

Arguments

slot_option

slot parameter in GetAssayData function in Seurat package (should be "counts", otherwise, prediction wouldn't show good result)

seurtat_object

R variable which is a seurat object

Value

a matrix class composed of gene(row)-by-cell(column)

Examples

1
data <- convert_seurat(seurat_obj)

hemberg-lab/sctransfermap documentation built on Nov. 11, 2019, 6:23 a.m.