This function runs the downsampling process on a list of samples, using the specified peak channels and parameters.
run.downsample(
clean.expr.data,
downsample.sample,
peak.channels,
negative.n = 500,
positive.n = 1000,
verbose = TRUE
)List containing cleaned expression data.
Vector of sample names to be downsampled.
Named vector mapping samples to their peak channels.
Number of negative events to select, default 500.
Number of positive events to select, default 1000.
Logical, default is TRUE. Set to FALSE to suppress messages.
A list containing the downsampled expression data for each sample.