bhy_threshold: Function to apply the Benjamini-Hochberg-Yekutieli procedure...

View source: R/bhy_threshold.R

bhy_thresholdR Documentation

Function to apply the Benjamini-Hochberg-Yekutieli procedure for controlling FDR

Description

Function to apply the Benjamini-Hochberg-Yekutieli procedure for controlling FDR

Usage

bhy_threshold(pvals, reshaping_function = NULL, fdr = 0.1)

Arguments

pvals

a vector of the feature statistics, AGCs

reshaping_function

the default value for reshaping function can be referred by Benjamini & Yekutieli (2001) otherwise, the reshaping function can be referred by Ramdas et al (2017)

fdr

the pre-specified false discovery rate level

Value

The threshold value corresponding tthe Benjamini-Hochberg-Yekutieli procedure


mxxptian/GraceAKO documentation built on Oct. 5, 2022, 11:17 p.m.