null_gsea {vulcan}R Documentation

Calculate Null Distribution for GSEA

Description

This function generates a GSEA null distribution from

Usage

null_gsea(set, reflist, w = 1, np = 1000)

Arguments

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)

Value

A vector of null scores appropriate for the set/reflist combination provided

Examples

reflist<-setNames(-sort(rnorm(26)),LETTERS)
set<-c('A','B','D','F')
nulldist<-null_gsea(set,reflist)
nulldist[1:10]

[Package vulcan version 1.15.0 Index]