Learn R Programming

ActivePathways (version 1.0.1)

columnSignificance: Determine which pathways are found to be significant using each column individually

Description

Determine which pathways are found to be significant using each column individually

Usage

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 is a test. Rownames should be the genes and colnames the names of the tests. All values must be 0<=p<=1 with missing values removed or converted to 1

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 p-value for a gene to be used for enrichment analysis. Any genes with adjusted.p.val > significant will be discarded before testing

significant

A number in [0,1] denoting the maximum p-value for a pathway to be considered significantly enriched.

correction.method

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 pathway was found to be significant(TRUE) or not(FALSE) when considering only that column