modSample: Sample Features from Data

Description Usage Arguments Value

View source: R/3-mod.R

Description

modSample samples features from a data set randomly without replacement. When size = 0, this is equivalent to fsSample, top = 0, but probably quicker.

Usage

1
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 result.

Value

An ExprsArray object.


tpq/exprso documentation built on July 27, 2019, 8:44 a.m.