scoreNodes {BioNet} | R Documentation |
The function derives scores from the p-values of the nodes of a network.
scoreNodes(network, fb, fdr=0.05)
network |
A network in graphNEL or igraph format. |
fb |
Fitted bum model. |
fdr |
False discovery rate. |
Ordered score vector for the nodes of the network.
Marcus Dittrich
library(DLBCL) # load p-values data(dataLym) # load graph data(interactome) # get induced subnetwork for all genes contained on the chip chipGraph <- subNetwork(dataLym$label, interactome) p.values <- dataLym$t.pval names(p.values) <- dataLym$label bum <- fitBumModel(p.values, plot=TRUE) scoreNodes(network=chipGraph, fb=bum, fdr=0.001)