Description Usage Arguments Value Examples
calculate normalized enrichment score based on weighted gene list(weights), on-set gene set(positiveList), and permutation result(myPermu).
1 | weightedKS_ofCSEA(weights, positiveList, myPermu, nPermu = 1000)
|
weights |
A vector of weights. The name of each value in the vector is it's Entrez gene ID |
positiveList |
A list of list containing pathways of genes. Each sublist is a pathway (or a concept), containing Entrez gene IDs |
myPermu |
A list of list containing permutations of randomly selected genes for each pathway. |
nPermu |
The number of permutations used throughout the calculations |
A table of 3 columns, "pathway names","NES","pValue"
1 2 3 4 5 6 7 8 | ##For a "result" calculated from cal_uniConSig:
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)
myNES<-weightedKS_ofCSEA(weight.call,pathway.my,myPermu.call)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.