gsfPEN_cpp {PANPRSnext}R Documentation

Main CPP function

Description

Main CPP function

Usage

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
)

Arguments

summary_betas

matrix of summary statistics

ld_J

vector of indices of SNPs in LD with the current SNP

index_matrix

matrix of indices of SNPs in LD with the current SNP

index_J

vector of indices of SNPs in LD with the current SNP

ld_vec

vector of LD values

SD_vec

matrix of SD values

tuning_matrix

matrix of tuning parameters

lambda0_vec

vector of lambda0 values

z_matrix

matrix of z values

lambda_vec_func

vector of lambda values

func_lambda

matrix of lambda values

Ifunc_SNP

vector of indices of SNPs in LD with the current SNP

dims

vector of dimensions

params

vector of parameters


[Package PANPRSnext version 1.2.0 Index]