SPACox.one.SNP: SaddlePoint Approximation implementation of Cox regression...

Description Usage Arguments Value

View source: R/Library.r

Description

One-SNP-version SPACox function. This function is to facilitate users that prefer reading and analyzing genotype line-by-line.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
SPACox.one.SNP(
  g,
  obj.null,
  Cutoff = 2,
  impute.method = "fixed",
  missing.cutoff = 0.15,
  min.maf = 1e-04,
  CovAdj.cutoff = 5e-05,
  G.model = "Add"
)

Arguments

g

a numeric genotype vector. Missing genotype should be coded as NA. Both hard-called and imputed genotype data are supported.

others

the same as function SPACox. NOTE that we do not check subject order in this one-snp-version !!!

Value

the same as function SPACox.


WenjianBI/SPACox documentation built on March 5, 2021, 7:23 p.m.