modSample: Sample Features from Data
Description
modSample samples features from a data set randomly without
replacement. When size = 0, this is equivalent to
fsSample, top = 0, but much quicker.
Usage
modSample(object, size = 0)
Arguments
object
An ExprsArray object to undergo pre-processing.
size
A numeric scalar. The number of randomly sampled features
to include in the pre-processed ExprsArray object.
Value
A pre-processed ExprsArray object.