False discovery proportion (fdp) as function of selection and known negatives:
eval_fdp.Rd
False discovery proportion (fdp) as function of selection and known negatives:
Arguments
- selected
vector of indices of selected variables
- negatives
vector of indices of known null variables (that don't influence response)
Examples
library(knockofftools)
eval_fdp(selected=c(1,2,3,5), negatives=5:10)
#> [1] 0.25