findES: Find the highest absolute value of weights

Description Usage Arguments Value Examples

Description

Find the highest running sum of the weighted random walk k-s test to be the enrichment score (ES)

Usage

1
findES(cumWeight)

Arguments

cumWeight

A vector of cumulative normalized weights. The name of each value in the vector is it's Entrez gene ID

Value

A vector of cumulative normalized weights

Examples

1
2
3
4
5
6
7
8
#For a "cumuNorWeight" calculated from cal_cumNorWeight:
weight.call<-c(0.1,0.2,0.5,0.7,0.9,1)
names(weight.call)<-1:6
pathway.my<-list()
pathway.my[[1]]<-1:10
pathway.my[[2]]<-5:15
cumuNorWeight<-cal_cumNorWeight(weight.call,pathway.my)
ES<-findES(cumuNorWeight)

wangxlab/uniConSigPreCal documentation built on May 23, 2019, 9:31 a.m.