null_gsea {vulcan} | R Documentation |
This function generates a GSEA null distribution from
null_gsea(set, reflist, w = 1, np = 1000)
set |
A vector containing gene names. |
reflist |
A named vector containing the weights of the entire signature |
w |
exponent used to raise the supplied scores. Default is 1 (original scores unchanged) |
np |
Number of permutations (Default: 1000) |
A vector of null scores appropriate for the set/reflist combination provided
reflist<-setNames(-sort(rnorm(26)),LETTERS) set<-c('A','B','D','F') nulldist<-null_gsea(set,reflist) nulldist[1:10]