Sample the data for a specified mean number of cells (per sample) from the dataset

sample_cells(data, meanCells, sampleID = "Donor.ID", Nperms = 20)

Arguments

data

the input data (should be an SCE object)

meanCells

the mean number of cells to be sampled from each individual

sampleID

sample ID

Nperms

the number of subsets the user needs (default 20)

Value

a list of size Nperms, with each item being a subset of the input SCE containing the specified mean number of cells per sample