Learn R Programming

MFKnockoffs (version 0.9.1)

MFKnockoffs.threshold: Threshold for the knockoff filter

Description

Computes the threshold for the knockoff filter.

Usage

MFKnockoffs.threshold(W, q = 0.1, method = c("knockoff+", "knockoff"))

Arguments

W

the test statistics

q

target FDR (false discovery rate)

method

either 'knockoff or 'knockoff+'

Value

The threshold for variable selection.