Learn R Programming

pcadapt (version 1.0)

fdrControl: False Discovery Rate Control Plotting

Description

fdrControl plots the false discovery rate as a function of thresholds under which the FDR are expected to be.

Usage

fdrControl(x, alpha_thresholds = seq(0.01, 0.5, length = 100))

Arguments

x
an output from outlier containing the false discovery rates for each threshold that is specified in alpha_thresholds.
alpha_threholds
a vector containing the control thresholds. Default value set to seq(0.01,0.50,length=100).

Examples

Run this code
x <- NULL
x$fdr <- seq(0.0,0.4,length=100)
fdrControl(x)

Run the code above in your browser using DataLab