minet
infers the network in two steps.
First, the mutual information between all pairs of variables in dataset
is computed
according to the estimator
argument. Then the algorithm given by method
considers the estimated mutual informations in order to build the network.
This package is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.minet(dataset, method="mrnet", estimator="spearman", disc="none", nbins=sqrt(NROW(dataset)))
build.mim
.minet
returns a matrix which is the weighted adjacency matrix of the network. The weights range from 0 to 1 and can be seen
as a confidence measure on the presence of the arcs. In order to display the network, load the package Rgraphviz and use the following command:
plot( as(returned.matrix ,"graphNEL") )build.mim
, clr
, mrnet
, mrnetb
, aracne
data(syn.data)
net1 <- minet( syn.data )
net2 <- minet( syn.data, estimator="pearson" )
net3 <- minet( syn.data, method="clr")
Run the code above in your browser using DataLab