ct.DirectionalTests {gCrisprTools} | R Documentation

## Compute Directional P-values from eBayes Output

### Description

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

### Usage

    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

    data('fit')
    ct.DirectionalTests(fit)

[Package gCrisprTools version 1.14.0 Index]