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
# \donttest{
g <- new("graphAM", adjMat=DD.chem.data, values=list(weight=DD.chem.data));
Wg <- Max.Min.norm(g);# }
Run the code above in your browser using DataLab