Main CPP function
gsfPEN_cpp(
summary_betas,
ld_J,
index_matrix,
index_J,
ld_vec,
SD_vec,
tuning_matrix,
lambda0_vec,
z_matrix,
lambda_vec_func,
func_lambda,
Ifunc_SNP,
dims,
params
)matrix of summary statistics
vector of indices of SNPs in LD with the current SNP
matrix of indices of SNPs in LD with the current SNP
vector of indices of SNPs in LD with the current SNP
vector of LD values
matrix of SD values
matrix of tuning parameters
vector of lambda0 values
matrix of z values
vector of lambda values
matrix of lambda values
vector of indices of SNPs in LD with the current SNP
vector of dimensions
vector of parameters