run_BHq_base: Run Benjamini-Hochberg procedure

Description Usage Arguments Value

View source: R/run_BHq_base.R

Description

Runs the original Benjamini-Hochberg procedure.

Usage

1
run_BHq_base(X, y, fdr)

Arguments

X

A nxp design matrix.

y

A vector of n responses.

fdr

The desired false discovery rate.

Value

A list containing:

X

n-by-p design matrix.

y

vector of observed responses.

Z

vector of test statistics.

thres

data-dependent threshold.

selected

list of selected variables.


svteichman/prelim.knockoffs documentation built on May 28, 2020, 5:14 p.m.