Learn R Programming

mRMRe (version 2.1.2.1)

sampleCount: Accessor function for the 'sampleCount' information in a mRMRe.Data, mRMRe.Filter and mRMRe.Network object.

Description

The feature count is simply the total number of samples considered in the mRMRe procedure.

Usage

# S4 method for mRMRe.Data
sampleCount(object)
# S4 method for mRMRe.Filter
sampleCount(object)
# S4 method for mRMRe.Network
sampleCount(object)

Arguments

object

a mRMRe.Data, mRMRe.Filter or mRMRe.Network object.

Author

Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains

Examples

Run this code
set.thread.count(2)
data(cgps)
feature_data <- mRMR.data(data = data.frame(cgps.ge))
sampleCount(feature_data)
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
sampleCount(filter)

Run the code above in your browser using DataLab