This function takes a SingleCellExperiment object and a variable by which to split it, converts it to a Seurat object, and then splits it according to the specified variable.

SCEtoSeurat(sce)

Arguments

sce

A SingleCellExperiment object.

Value

A Seurat objects.

Examples

data(sim_data_sce)
# seuratlist <- InputData(sim_data_sce,"Study")
seuratobj <- SCEtoSeurat(sim_data_sce)
#> Error in SCEtoSeurat(sim_data_sce): could not find function "SCEtoSeurat"