null_gsea: Calculate Null Distribution for GSEA

Description Usage Arguments Value Examples

View source: R/gsea.R

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]

vulcan documentation built on Nov. 8, 2020, 8:15 p.m.