FDR: A Function That Computes de False Discovery Rate.

FDRR Documentation

A Function That Computes de False Discovery Rate.

Description

This function computes the false discovery rate from a vector of independent p-values. It extracts the cutoff corresponding to the specified FDR. See Benjamini & Hochberg 1995 paper.

Usage

FDR(x, FDR)

Arguments

x

A vector of independent p-values.

FDR

The false discovery rate.

Value

The corresponding cutoff.


fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.