construct_permuList: contruct permutation list

Description Usage Arguments Value Examples

Description

contruct permutation list to avoid repeated calculations of same number of randomly selected genes

Usage

1
construct_permuList(weights.cp, posList, nPermu = 1000)

Arguments

weights.cp

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

posList

A list of list, containing pathway genes. See example pathway.hallmark and pathway.c2cp

nPermu

Number of permutations. Default 1000

Value

A list of list, containing all the enrichment scores of each number of randomly selected genes.

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
myPermu.call<-construct_permuList(weight.call,pathway.my)

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