gsea2T: This function performs GSEA of two gene sets for a given...

Description Usage Arguments Value

View source: R/GSEA_Subramanian.R

Description

Similar to gsea_regulon but without any information on Mode of Regulation

Usage

1
2
3
4
5
6
7
gsea2T(
  signature,
  set1,
  set2,
  sorting = c("decreasing", "increasing"),
  weight = 1
)

Arguments

signature

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

set1

character vector, i.e. the first gene set

set2

character vector, i.e. the second gene set

sorting

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

w

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

Value

a list object containing for each gene set:

signature

input signature

ES_pos

enrichment score set1

ES_neg

enrichment score set2

ES_pos_idx

enrichment score set1 index

ES_neg_idx

enrichment score set2 index

RS_pos

running sum for set1

RS_neg

running sum for set2

gs_idx_pos

indices of the set1 genes in the signature

gs_idx_neg

indices of the set2 genes in the signature

ledge_pos

gene identifiers of the leading edge for set1

ledge_neg

gene identifiers of the leading edge for set2

ledge_idx_pos

indices of the leading edge gene set members - set1

ledge_idx_neg

indices of the leading edge gene set members - set2


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