runMcp: sj0717 Runs mcp with various parameters

View source: R/RcppExports.R

runMcpR Documentation

sj0717 Runs mcp with various parameters

Description

sj0717 Runs mcp with various parameters

Usage

runMcp(
  lambda,
  shrink,
  gamma,
  fileName,
  r,
  N,
  P,
  col_skip_pos,
  col_skip,
  keepbytes,
  keepoffset,
  thr,
  x,
  trace,
  maxiter,
  startvec,
  endvec
)

Arguments

gamma
fileName

the file name of the reference panel

r

a vector of correlations

N

number of subjects

P

number of position in reference file

thr

threshold

x

a numeric vector of beta coefficients

trace

if >1 displays the current iteration

maxiter

maximal number of iterations

lambda1

a vector of lambdas (lambda2 is 0)

col_skip_posR

which variants should we skip

col_skipR

which variants should we skip

keepbytesR

required to read the PLINK file

keepoffsetR

required to read the PLINK file

Constant

a constant to multiply the standardized genotype matrix

Value

a list of results


SeojinHwang/scadsum documentation built on June 30, 2023, 10:52 p.m.