BHRej: Produce a BHRej object

Description Usage Arguments Value Examples

Description

BHRej implements the Bonjamini-Hocheberg procedure given a vector of p-values. Heap sort algorithm is used to improve efficiency. See also BHRejVec. See PIE.BHRej for plotting instructions.

Usage

1
BHRej(FDR = 0.1, pvector)

Arguments

FDR

A numeric value between 0 and 1 for FDR control.

pvector

A vector of numerics containing pvalues.

Value

A BHRej object is return, which is list containing:

rejList

A vector of integers containing the relative indexes of rejected genes.

pVal

A vector of numerics containing the tested p-values.

FDR

A numeric value between 0 and 1.

nTest

An integer indicating the number of p-values.

Examples

1
2
3
DE = BHRej(FDR = 0.1, runif(1000, 0, 0.1))
EE = BHRej(FDR = 0.1, runif(1000, 0, 0.1))
PIE(DE, EE, piePar = list(radius = 0.9, main = "What"))

ziyanyin/DEEE documentation built on May 4, 2019, 11:23 p.m.