Skip to contents

Split SingleCellExperiment by colData variable

Usage

splitByCol(x, f = "batch")

Arguments

x

SingleCellExperiment object

f

colData variable as a string

Value

a list of singlecellexperiments name by colData value

Examples


data(small_example_dataset)
splitByCol(small_example_dataset, "batch")
#> named list()