PlotEnrichment.Generic: Generic function to perform enrichment analysis and plot...

Description Usage Arguments Value Author(s)

View source: R/plot.R

Description

Generic function to perform enrichment analysis and plot results. Enrichment/depletion is evaluated using (multiple) Fisher's exact test(s). Multiple hypothesis testing correction is applied following the method of Bonferroni (default, see argument padjMethod). Note: This function should not be invoked directly by the user.

Usage

1
2
3
PlotEnrichment.Generic(mat, padjMethod = "bonferroni", title = "",
  xlab = "", x.las = 1, x.cex = 1, x.padj = 1, plotType = "l",
  revXaxis = FALSE, xAxisLblFmt = 0)

Arguments

mat

A dataframe; specifies the contingency table.

padjMethod

A character string; specifies the multiple hypothesis testing correction method; see ?p.adjust for details. Default is "bonferroni".

title

A character string; specifies plot title.

xlab

A character string; specifies the x-axis label.

x.las

An integer scalar; specifies the orientation of x-axis labels; Default is 1.

x.cex

A float scalar; specifies a scaling factor for x-axis labels; default is 1.

x.padj

A float scalar; specifies the vertical adjustment of x-axis labels; default is 1.

plotType

A character string; specifies the plot style; default is "l" (for line).

revXaxis

A logical scalar; if TRUE, the order of columns from mat is reversed; default is FALSE.

xAxisLblFmt

An integer scalar; specifies the format of the x-axis label.

Value

A list of fisher.test return objects and mat.

Author(s)

Maurits Evers, maurits.evers@anu.edu.au


mevers/RNAModR documentation built on Nov. 17, 2019, 9:11 a.m.