mRMRe (version 2.0.3)

target: mRMR Target(s)

Description

The 'target' method allows you to access the target of a mRMR procedure. In a mRMRe.Network setting, the target consists of the seed or the starting set of features given in the network building.

Usage

## S3 method for class 'mRMRe.Filter':
target(object)
## S3 method for class 'mRMRe.Network':
target(object)

Arguments

object
a mRMRe.Filter or mRMRe.Network object.

Examples

Run this code
data(cgps)
feature_data <- mRMR.data(data =  data.frame(cgps.ge))

# Create an mRMR filter and obtain the targets of that filter
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
target(filter)

# Build an mRMR-based network and obtain targets (seeds) of the network
network <- new("mRMRe.Network", data = feature_data, target_indices = c(1, 2),
				levels = c(2, 1), layers = 1)
target(network)

Run the code above in your browser using DataLab