subclass.mainclass: subclass.mainclass()

View source: R/16_subclass_by_mainclass.R

subclass.mainclassR Documentation

subclass.mainclass()

Description

Function to evaluate the enrichment of subclasses within each main class

Usage

subclass.mainclass(X, Y, test = "Fisher", enrich = FALSE, pval = 0.05,
  adjpval = 1)

Arguments

X

has to be a <Query>.intact object that was created using the lipid.miner function

Y

has to be your <Universe>.intact object that was created using the lipid.miner function

test

has to be a type of test in the list "Fisher", "Binom", "Hyper", or "EASE"

enrich

TRUE or FALSE (FALSE by default) to choose between showing all the results of the test or only the enriched ones based on a pvalue

pval

regular pvalue cutoff (0.05 by default)

adjpval

BH adjusted pvalue cutoff (1.0 by default)

Value

This function will return a data.frame containing the tested classifiers (rows), the counts and percentage of identifiers/chains falling in this classifier, a binom.test() pvalue, a BH corrected pvalue and a fold change

Author(s)

Geremy Clair

Examples

subclass.mainclass(queryExample.intact,universeExample.intact,test= "Fisher", enrich=FALSE)


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