largestScoreComp {BioNet} | R Documentation

## Component with largest score

### 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

    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

    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)

[Package BioNet version 1.46.0 Index]