Description Usage Arguments Details Value Examples
View source: R/getFeatureScores.R
Compile network scores into a matrix
1 | getFeatureScores(inDir, predClasses, getFullCons = TRUE)
|
inDir |
(char/list) directory containing directories with all split info or list of all CV score files. if inDir is a single directory then the expected format for CV score files is <inDir>/rngX/predClassX/GM_results/predClassX_pathway_CV_score.txt' if inDir is a list, it should have one key per class. The value should be the corresponding set of filenames for pathway_CV_score.txt |
predClasses |
(char) possible STATUS for patients |
getFullCons |
(logical) if TRUE, does not remove rows with NA. Recommended only when the number of input features is extensively pruned by first-pass feature selection. |
Given network scores over a set of train/test splits, compiles these into a matrix for downstream analysis. See the section on 'Output Files'
(list) one key per patient class. Value is matrix of network scores across all train/test splits. Each score is the output of the inner fold of CV.
1 2 | inDir <- system.file("extdata","example_output",package="netDx")
netScores <- getFeatureScores(inDir, predClasses = c('LumA','notLumA'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.