gsPEN_sparse_cpp: Main CPP function

View source: R/RcppExports.R

gsPEN_sparse_cppR Documentation

Main CPP function

Description

Main CPP function

Usage

gsPEN_sparse_cpp(
  summary_betas,
  ld_J,
  index_matrix,
  index_J,
  ld_vec,
  SD_vec,
  tuning_matrix,
  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

dims

vector of dimensions

params

vector of parameters


PANPRSnext documentation built on Aug. 8, 2025, 6:19 p.m.