A function to determine the parameters for the derandomized knockoffs procedure
get_params(
type,
v = NULL,
k = NULL,
alpha = NULL,
M = NULL,
eta = NULL,
thres = 50,
beta = 1
)
the type of error to control. Options include "pfer" and "kfwer".
a positive numver indicating the PFER target (default: 1). Can be left NULL if using the kfwer error.
a positive integer corresponding to k-FWER.
a number between 0 and 1 indicating the target k-FWER level.
an integer specifying the number of knockoff copies computed (default: 30).
a number betweem 0 and 1 indicating the selection frequency (default: 0.5).