null_gsea: Calculate Null Distribution for GSEA

Description Usage Arguments Value Examples

Description

This function generates a GSEA null distribution from

Usage

1
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

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

federicogiorgi/vulcan documentation built on May 27, 2019, 7:25 a.m.