intact.hyper.enrich: intact.hyper.enrich()

View source: R/12_hyper_enrichment_functions.R

intact.hyper.enrichR Documentation

intact.hyper.enrich()

Description

Provide a rapid way to perform hyper.tests on columns of the <.intact> objects created using the lipid.miner function.

Usage

intact.hyper.enrich(X, Y, pval = 0.05, adjpval = 1)

Arguments

X

any column of a <Query.intact> object

Y

any column of a <Universe.intact> object (has to be the same column as X)

pval

is a regular pvalue to use as a cutoff for the enrichment

adjpval

is a BH adjusted pvalue to use as a cutoff for the enrichment

Details

The difference between the intact.hyper and the intact.hyper.enrich function is that the <.enrich> function allows to extract only the element that are enriched according to a Pvalue or a BH adjusted pvalue.

The universe file db.intact is provided if you are lacking an universe file.

Value

This function will return a data frame with the results of the tests

Author(s)

Geremy Clair

Examples

intact.hyper.enrich(queryExample.intact$`Main class`, universeExample.intact$`Main class`)


PNNL-Comp-Mass-Spec/Rodin documentation built on Jan. 28, 2024, 2:12 a.m.