mRMRe (version 2.0.3)

mRMRe.Network-class: Class "mRMRe.Network"

Description

mRMRe.Network is a wrapper for inferring a network of features based on mRMR feature selection.

Arguments

Instantiation

Objects are created via calls of the form new("mRMRe.Network", data, prior_weight, target_indices, levels, layers, ..., mi_threshold, causality_threshold). layers: is expected to be an integer specifying the number of layers of network inference desired. When multiple layers are desired, the elements of the solutions found in the last step of feature selection are used as the targets of the next step. Since networking involves filter processing, the remaining arguments are identical to those required by solutions method of the mRMRe.Filter object and mim method of the mRMRe.Data object.

See Also

mRMRe.Filter-class, mRMRe.Data-class

Examples

Run this code
showClass("mRMRe.Network")

## load data
data(cgps)

## build an mRMRe.Data object
ge <- mRMR.data(data = data.frame(cgps.ge[ , 1:100, drop=FALSE]))

## build a network object with the 10 first genes and their children,
## 8 distinct mRMR feature selections of 5 genes for each gene
exect <- system.time(netw <- new("mRMRe.Network", data = ge, target_indices = 1:10,
		levels = c(8, 1, 1, 1, 1), layers = 2))
print(exect)

## plot network using igraph
visualize(netw)

Run the code above in your browser using DataCamp Workspace