Learn R Programming

BioNet (version 1.32.0)

scoreNodes: Score the nodes of a network

Description

The function derives scores from the p-values of the nodes of a network.

Usage

scoreNodes(network, fb, fdr=0.05)

Arguments

network
A network in graphNEL or igraph format.
fb
Fitted bum model.
fdr
False discovery rate.

Value

Ordered score vector for the nodes of the network.

See Also

bumOptim, fitBumModel

Examples

Run this code
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)

Run the code above in your browser using DataLab