Description Usage Arguments Details Value References See Also Examples
This function takes the adjacency matrix, averaged mutual information matrix for the inferred edges, averaged mutual information matrix and number of genes as input. It returns
the data sets folder path and number of mutual information steps for the therhold mutual information. Considering 3 gene case, it computes number of motifs, probability to observe a motif, average mutual information of motifs and node indices for motifs.
1 | motifcount3(net, rmat, MImat)
|
net |
adjacency matrix of genes (not symmetric). |
rmat |
averaged mutual information matrix for the inferred edges of the overall experiments. |
MImat |
averaged mutual information matrix of the overall experiments. |
It only consider 3 genes case and search for all the possible motifs with 3 genes.
motifcount3
returns an object of class '"res"' which is a list with components:
moty |
number of motifs. |
motyprob |
probability to observe a motif. |
motyMI |
average mutual information of motifs. |
emotnodes |
node indices for motifs. |
Gokmen Altay and Frank Emmert-Streib. Revealing differences in gene network inference algorithms on the network level by ensemble methods. Bioinformatics, 2010, 26(14),1738-1744.
Frank Emmert-Streib, Gokmen Altay. Local network-based measures to assess the inferability of different regulatory networks. IET Syst. Biol. 2010, Volume 4, Issue 4, p.277-288.
plotMotifs
, evalnetworks
, evalnetworksNames
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # E <- 5 # number of experiments (data sets)
# infile <- "./netmes/data/networkDAG.sif"
# infilepath <- "./netmes/data/syn/"
#This is an example path. Change this path wrt the path of data in your computer.
# net <- readNet(infile, infilepath) # true network (+1 edge/ activator - -1 edges/repr.)
# res <- evalnetworks(E, net, infilepath)
# res2 <- motifcount3(net, res$rmat, res$aveMImat)
# plotMotifs(res2)
# if True Reconstruction Rate wished to be plotted
# envm <- res2$motyprob
# y <- c()
# xg <- c()
# i <- 2
# aux <- get(as.character(i), envir = envm)
# y <- append(y, aux, after = length(y))
# xg <- append(xg, rep(1, length(aux)), after = length(xg))
# boxplot(y ~ xg, names = c("DAG"), ylab = expression(p), cex.lab = 1.7, cex.axis = 1.6, col = c("darkred") )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.