mt_enrichCOG: Perform enrichment analysis using COG categories.

Description Usage Arguments Value Author(s) Examples

View source: R/mt_enrichCOG.R

Description

mt_enrichCOG

Usage

1
mt_enrich(mmt,GeneIDs,COGs)

Arguments

mmt

(required) An object of class mmt.

GeneIDs

(required) Character vector with gene IDs of interest.

COGs

(required) String pointing to the column in mtgene containing COG identifiers.

alternative

(optional) String specifying the direction of the test. Choose from:

  • greater - test for enrichment in genes of interest.

  • less - test for depletion in genes of interest.

  • two.sided - perform a two-sided test for both in genes of interest.

show_p

(optional) Numeric indicating the threshold p-value for plotting. Default: 1

size_p

(optional) Numeric indicating the size of plotted p-values. Default: 1

unannotated

(optional) Should the data for unannotated genes be included in plot? Default: TRUE.

Value

A list with following:

Author(s)

Thomas Yssing Michaelsen tym@bio.aau.dk

Examples

1
2
3
4
## Not run: 
# TBD.

## End(Not run)

TYMichaelsen/mmtravis documentation built on Aug. 5, 2019, 10:48 a.m.