getNetConsensus: compile net score across a set of predictor results

Description Usage Arguments Details Value Examples

View source: R/getNetConsensus.R

Description

compile net score across a set of predictor results

Usage

1
getNetConsensus(scorelist)

Arguments

scorelist

(list) key is dataset name, value is a data.frame containing PATHWAY_NAME and SCORE. This is the output of compileFeatureScores()

Details

used to compare how individual nets score for different predictor configurations

Value

(data.frame) Rownames are union of all nets in the input list. Columns show net scores for each key of the input list. Where a net is not found in a given list, it is assigned the value of NA

Examples

1
2
3
4
5
6
7
8
9
pathways <- paste("PATHWAY_",1:100,sep="")
highrisk <- list()
for (k in 1:10) { 
	highrisk[[k]] <- data.frame(PATHWAY_NAME=pathways, 
	SCORE=runif(length(pathways),min=0,max=10),
			stringsAsFactors=FALSE);
}
names(highrisk) <- sprintf("Split%i",1:length(highrisk))
x <- getNetConsensus(highrisk)

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