plotFisherTest: plotFisherTest

View source: R/statTest.R

plotFisherTestR Documentation

plotFisherTest

Description

Conduct a Fisher's exact test and plot the results as a heatmap

Usage

plotFisherTest(x, y = NULL, name.x = NULL, name.y = NULL, ...)

Arguments

x

factor object or one that can be coerced to one. Alternative a 2x2 contingency matrix

y

factor object or one that can be coerced to one

name.x

optional character string specifying the name for the first grouping

name.y

optional character string specifying the name for the second grouping

...

arguments passed on to fisher.test

Value

an S3 object containing the test result object as returned by fisher.test and a ggplot object

Author(s)

Fabian Mueller


demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.