columnSignificance: Determine which terms are found to be significant using each...

Description Usage Arguments Value

View source: R/ActivePathways.r

Description

Determine which terms are found to be significant using each column individually.

Usage

1
2
3
4
5
6
7
8
9
columnSignificance(
  scores,
  gmt,
  background,
  cutoff,
  significant,
  correction.method,
  pvals
)

Arguments

scores

A numerical matrix of p-values where each row is a gene and each column represents an omics dataset (evidence). Rownames correspond to the genes and colnames to the datasets. All values must be 0<=p<=1. We recommend converting missing values to ones.

gmt

A GMT object to be used for enrichment analysis. If a filename, a GMT object will be read from the file.

background

A character vector of gene names to be used as a statistical background. By default, the background is all genes that appear in gmt.

cutoff

A maximum merged p-value for a gene to be used for analysis. Any genes with merged, unadjusted p > significant will be discarded before testing.

significant

Significance cutoff for selecting enriched pathways. Pathways with adjusted.p.val < significant will be selected as results.

correction.method

Statistical method to correct p-values. See p.adjust for details.

pvals

p-value for the pathways calculated by ActivePathways

Value

a data.table with columns 'term.id' and a column for each column in scores, indicating whether each term (pathway) was found to be significant or not when considering only that column. For each term, either report the list of related genes if that term was significant, or NA if not.


ActivePathways documentation built on July 10, 2020, 1:12 a.m.