getCompScores: Partition scores for subgraphs of the network

Description Usage Arguments Value Author(s) Examples

Description

The function partitions the scores into scores for each subgraph of the network.

Usage

1
getCompScores(network, score)

Arguments

network

A network in graphNEL or igraph format.

score

Vector of scores.

Value

A data frame with the components of the network and the score for each PPI identifier.

Author(s)

Marcus Dittrich

Examples

1
2
3
4
5
6
7
8
9
library(DLBCL)
data(interactome)
data(dataLym)
# create random subgraph with 100 nodes and their direct neighbors
nodes <- nodes(interactome)[sample(length(nodes(interactome)), 100)]
subnet <- subNetwork(nodeList=nodes, network=interactome, neighbors="first")
score <- dataLym$score001
names(score) <- dataLym$label
getCompScores(score=score, network=subnet)


Search within the BioNet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.