Learn R Programming

mRMRe (version 2.1.2.1)

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

Description

sampleNames are the names of the samples given as input to the mRMRe procedure.

Usage

# S4 method for mRMRe.Data
sampleNames(object)
# S4 method for mRMRe.Filter
sampleNames(object)
# S4 method for mRMRe.Network
sampleNames(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))
sampleNames(feature_data)
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
sampleNames(filter)

Run the code above in your browser using DataLab