Subsample cells random

sample_cells(object, n)

Arguments

object

an object that is column-subsettable, e.g., a matrix or a SingleCellExperiment object

n

how many cells do you want