Divides a SingleCellExperiment object into train/test subsets.

create_training_sets(x, ...)

# S3 method for SingleCellExperiment
create_training_sets(x, frac = 0.1, ...)

# S3 method for Seurat
create_training_sets(x, frac = 0.1, ...)

Arguments

x

SingleCellExperiment object.

...

arguments passed down to methods (currently unused).

frac

fraction of dataset for testing.

Value

list with two SingleCellExperiment, one with train and other with test data.