prepareGSEAgenesets: Prepare GSEA gene sets

Description Usage Arguments Value

View source: R/compare.R

Description

Prepare GSEA gene sets

Usage

1
prepareGSEAgenesets(input, geneSize)

Arguments

input

Named numeric vector of differentially expressed genes whose names are gene identifiers and respective values are a statistic that represents significance and magnitude of differentially expressed genes (e.g. t-statistics); or character of gene symbols composing a gene set that is tested for enrichment in reference data (only used if method includes gsea)

geneSize

Numeric: number of top up-/down-regulated genes to use as gene sets to test for enrichment in reference data; if a 2-length numeric vector, the first index is the number of top up-regulated genes and the second index is the number of down-regulated genes used to create gene sets; only used if method includes gsea and if input is not a gene set

Value

List of gene sets


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.