Description Usage Arguments Value Examples
View source: R/compileFeatureScores.R
Tally the score of networks through cross-validation
1 | compileFeatureScores(fList, filter_WtSum = 100, verbose = FALSE)
|
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 |
(data.frame) Feature name and score; includes features that occur
at least once in fList
.
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.