ct.DirectionalTests: Compute Directional P-values from eBayes Output

Description Usage Arguments Value Author(s) Examples

View source: R/DirTest.R

Description

This function produces two sets of one-sided P-values derived from the moderated t-statistics produced by eBayes.

Usage

1
ct.DirectionalTests(fit, contrast.term = NULL)

Arguments

fit

An object of class MArrayLM containing, at minimum, a df.residual slot containing the appropriate degres of freedom for each test, and a t slot containing t statistics.

contrast.term

If a fit object with multiple coefficients is passed in, a string indiating the coefficient of interest.

Value

A matrix object with two numeric columns, indicating the p-values quantifying the evidence for enrichment and depletion of each feature in the relevant model contrast.

Author(s)

Russell Bainer

Examples

1
2

gCrisprTools documentation built on Nov. 8, 2020, 8:17 p.m.