scoreNodes: Score the nodes of a network

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Statistics.R

Description

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

Usage

1
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.

Author(s)

Marcus Dittrich

See Also

bumOptim, fitBumModel

Examples

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

BioNet documentation built on Nov. 8, 2020, 5:48 p.m.