largestScoreComp: Component with largest score

Description Usage Arguments Value Author(s) Examples

View source: R/Graph.R

Description

The function extracts the component of the network with the largest score. All nodes have to exceed the given level for the score.

Usage

1
largestScoreComp(network, score, level=0)

Arguments

network

Network in graphNEL or igraph format.

score

Vector of scores for the network.

level

Cut-off level for the score for the component.

Value

Subgraph of the network with a score larger than the given level.

Author(s)

Marcus Dittrich

Examples

1
2
3
4
5
6
7
8
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)

assaron/BioNet documentation built on Sept. 18, 2020, 12:02 a.m.