largestScoreComp {BioNet} | R Documentation |
The function extracts the component of the network with the largest score. All nodes have to exceed the given level for the score.
largestScoreComp(network, score, level=0)
network |
Network in graphNEL or igraph format. |
score |
Vector of scores for the network. |
level |
Cut-off level for the score for the component. |
Subgraph of the network with a score larger than the given level.
Marcus Dittrich
library(DLBCL) data(interactome) data(dataLym) network <- rmSelfLoops(interactome) score <- dataLym$score001 names(score) <- dataLym$label lComp <- largestScoreComp(network=network, score=score, level=1) ## Not run: plotModule(lComp)