compileFeatureScores: Tally the score of networks through cross-validation

Description Usage Arguments Value Examples

View source: R/compileFeatureScores.R

Description

Tally the score of networks through cross-validation

Usage

1
compileFeatureScores(fList, filter_WtSum = 100, verbose = FALSE)

Arguments

fList

(char) Vector of paths to GeneMANIA NRANK files

filter_WtSum

(numeric between 5-100) Limit to top-ranked networks such that cumulative weight is less than this parameter. e.g. If filter_WtSum=20, first order networks by decreasing weight; then keep those whose cumulative weight <= 20.

verbose

(logical) print messages

Value

(data.frame) Feature name and score; includes features that occur at least once in fList.

Examples

1
2
3
4
netDir <- system.file("extdata","GM_NRANK",package="netDx")
netFiles <- sprintf('%s/%s', netDir,dir(netDir,pattern='NRANK$'))
pTally <- compileFeatureScores(netFiles,verbose=TRUE)
print(head(pTally))

BaderLab/netDx documentation built on Sept. 26, 2021, 9:13 a.m.