groupData {StabPerf}R Documentation

Returns a subset of the dataset with a given class

Description

Compare given labels with the group, and return those columns of the dataset, were they match,

Usage

groupData(data, labels, group)

Arguments

data Dataframe. The expression values of the experiment.
labels Numeric/Factor. The classes of the samples of the experiment.
group Numeric/Factor. The class thats entries shall be returned.

Details

Compare given labels with the group, and return those columns of the dataset, were they match.

Value

data Dataframe of expression values that have the defined class.

Examples

early_data <- groupData(dataset$exprdata, dataset$labels, 1)

[Package StabPerf version 0.5 Index]