gsea1T: This function performs one-tailed Gene Set Enrichment...

Description Usage Arguments Value

View source: R/GSEA_Subramanian.R

Description

This function performs one-tailed Gene Set Enrichment Analysis as described by Subramanian et al.

Usage

1
2
3
4
5
6
7
gsea1T(
  signature,
  gS,
  weight = 1,
  sorting = c("decreasing", "increasing"),
  onlyES = FALSE
)

Arguments

signature

Named vector of gene-level statistics (preferably t-statistics)

gS

Gene set of interest

sorting

character indicating how to sort the signature (default is decreasing)

onlyES

logical, whether only the enrichment score should be returned

w

Weight for each gene-level statistic (default = 1)

Value

A list of class "gsea1" containing:

ES

enrichment score

RS

running sum

signature

input signature

es_idx

index of the maximum enrichment score

gs_idx

indices of the genes in the gene set in the signature

ledge

gene identifiers for the genes in the leading edge

ledge_index

indices of the leading edge genes in the signature


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.