intact.fisher.enrich: intact.fisher.enrich()

View source: R/08_Fisher_enrichment_functions.R

intact.fisher.enrichR Documentation

intact.fisher.enrich()

Description

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

Usage

intact.fisher.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.fisher and the intact.fisher.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.fisher.enrich(queryExample.intact$`Main class`, universeExample.intact$`Main class`)


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