Max.Min.norm-methods | R Documentation |
Graph normalization with respect to the minimum and maximum value of its weights. Each entry of the normalized matrix is in the range [0..1]:
W.norm = (W - min(W))/(max(W)-min(W))
Max.Min.norm(W)
W |
an object representing the graph to be normalized |
The normalized adjacency matrix of the network
signature(W = "graph")
an object of the virtual class graph (hence including objects of class graphAM
and graphNEL
from the package graph)
signature(W = "matrix")
a matrix representing the adjacency matrix of the graph
library(bionetdata); # max-min normalization for a drug-drug similarity network data(DD.chem.data); W <- Max.Min.norm(DD.chem.data); # the same using an object of class graphAM g <- new("graphAM", adjMat=DD.chem.data, values=list(weight=DD.chem.data)); Wg <- Max.Min.norm(g);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.