cal_cumNorWeight: Calculate cumulative normalized weights

Description Usage Arguments Value Examples

Description

calculate the cumulative normalized weights for a sorted gene list with weights and an on-set gene set

Usage

1
cal_cumNorWeight(weight, posList)

Arguments

weight

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

posList

A list of list containing pathways of genes. Each sublist is a pathway (or a concept), containing Entrez gene IDs

Value

A vector of cumulative normalized weights

Examples

1
2
3
4
5
6
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)

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