Skip to content

SNPASSOC

Single-SNP genetic association: allelic, genotypic and Cochran-Armitage trend tests and logistic regression for case-control traits, linear regression for quantitative traits, with covariates, genomic inflation λ, FDR, Manhattan and QQ plots.

SNPASSOC VARIABLES=snps /TRAIT=var [/CASE=value] [/TESTS=ALLELIC GENOTYPIC TREND LOGISTIC LINEAR] [/MODEL=ADDITIVE|DOMINANT|RECESSIVE] [/COVARIATES=vars] [/ADJUST=BH] [/MAP=dataset SNP=var CHR=var POS=var] [/TOP=20] [/OUTFILE=name] [/PLOT=MANHATTAN QQ|NONE].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /ADJUST, /CASE, /COVARIATES, /CRITERIA, /MAP, /MODEL, /OUTFILE, /PLOT, /TESTS, /TOP, /TRAIT, /VARIABLES
Menu Analyze ▸ Genomics
Slot: SNP variables 1+ variable(s); levels: nominal, ordinal, scale; types: numeric, string
Slot: Trait (case-control or quantitative) 1–1 variable(s); levels: nominal, ordinal, scale; types: numeric
Slot: Covariates 0+ variable(s); levels: nominal, ordinal, scale; types: numeric
  • TRAIT: two values: case-control (/CASE or the larger value is the case); more: quantitative
  • TESTS: default ALLELIC TREND LOGISTIC (case-control) or LINEAR (quantitative)
  • MODEL: genotype coding for LOGISTIC/LINEAR (default ADDITIVE)
  • COVARIATES: numeric covariates for the regression tests (e.g. age, sex, principal components)
  • OUTFILE: per-SNP statistics, effects and p-values in a new dataset
SNPASSOC VARIABLES=SNP0001 TO SNP0400 /TRAIT=status /COVARIATES=age sex /OUTFILE=assoc.
SNPASSOC VARIABLES=rs1 TO rs500 /TRAIT=ldl /TESTS=LINEAR /COVARIATES=age pc1 pc2 pc3.
  • The primary test (regression if requested, else trend, allelic, genotypic) drives /ADJUST, the top-SNP table and the plots; λ is reported for every test.
  • Genome-wide significance is p < 5×10⁻⁸; mixed models and LD clumping are not provided.

SNPQC, LOGISTIC REGRESSION, ADJUST PVALUES


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.