Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Genetic Models

This page provides detailed information about the genetic models available in Binx for GWAS analysis.

Overview

Genetic models define how allele dosage relates to phenotype. Binx implements models from GWASpoly (Rosyara et al., 2016) that accommodate various inheritance patterns in diploids and polyploids.

Diploid Models (ploidy=2)

Additive

The standard additive model assumes each allele copy contributes equally to the trait.

GenotypeAAABBB
Dosage012
Model value012

Use when: Trait value scales linearly with allele count.

binx gwas --ploidy 2 --models additive ...

1-dom-ref (Reference Dominant)

Tests if the reference allele (A) is dominant.

GenotypeAAABBB
Dosage012
Model value011

Use when: One copy of B is sufficient to express the B phenotype.

binx gwas --ploidy 2 --models 1-dom-ref ...

1-dom-alt (Alternate Dominant)

Tests if the alternate allele (B) is dominant.

GenotypeAAABBB
Dosage012
Model value001

Use when: Two copies of B are needed to express the B phenotype.

binx gwas --ploidy 2 --models 1-dom-alt ...

Tetraploid Models (ploidy=4)

Additive

Linear dosage effect across all five genotype classes.

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
Model value01234

Use when: Each B allele adds equally to trait value.

General (4 degrees of freedom)

No assumption about inheritance pattern. Estimates separate effects for each genotype class.

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
Dummy 101000
Dummy 200100
Dummy 300010
Dummy 400001

Use when: Exploring inheritance pattern; hypothesis generation.

Note: Performs a single joint test of all 4 dummy variables simultaneously, using more degrees of freedom. This reduces power compared to additive but can detect complex inheritance patterns.

1-dom (Simplex Dominant)

One copy of B is sufficient for effect. Using 1-dom tests both 1-dom-ref and 1-dom-alt.

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
1-dom-ref01111
1-dom-alt00001

Use when: Trait exhibits complete dominance; presence/absence effect.

binx gwas --ploidy 4 --models 1-dom ...

2-dom (Duplex Dominant)

Two copies of B are sufficient for effect. Using 2-dom tests both 2-dom-ref and 2-dom-alt.

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
2-dom-ref00111
2-dom-alt00011

Use when: Partial dominance; two copies needed for effect.

binx gwas --ploidy 4 --models 2-dom ...

diplo-additive (Diploidized Additive)

Treats the tetraploid as if it were diploid.

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
Model value00.50.50.51

Use when: Expecting diploid-like inheritance in autopolyploid.

binx gwas --ploidy 4 --models diplo-additive ...

diplo-general (Diploidized General)

Diploid-style general model in tetraploid context (heterozygotes collapsed).

GenotypeAAAAAAABAABBABBBBBBB
Dosage01234
GroupAAHetHetHetBB

Use when: Expected diploid-like inheritance with unknown dominance.

binx gwas --ploidy 4 --models diplo-general ...

Hexaploid Models (ploidy=6)

Similar patterns extend to hexaploids:

ModelEncoding (dosage 0-6)
additive0, 1, 2, 3, 4, 5, 6
general6 dummy variables
1-dom0, 1, 1, 1, 1, 1, 1 (ref) / 0, 0, 0, 0, 0, 0, 1 (alt)
2-dom0, 0, 1, 1, 1, 1, 1 (ref) / 0, 0, 0, 0, 0, 1, 1 (alt)
3-dom0, 0, 0, 1, 1, 1, 1 (ref) / 0, 0, 0, 0, 1, 1, 1 (alt)

Choosing Models

  1. Start broad: Run additive + general models
  2. Compare results: Look for QTLs significant in one but not other
  3. Refine hypotheses: Test specific dominance models
  4. Validate: Check if model assumptions match biology

Model Selection Guide

ScenarioRecommended Models
Unknown inheritanceadditive,general
Quantitative traitadditive
Disease resistanceadditive,1-dom,2-dom
Exploratory analysisadditive,general
Confirmation studyModel from prior evidence

Multiple Testing Considerations

Running multiple models increases false positive rate:

  • Apply correction across all tests
  • Or use Bonferroni within each model separately
  • Consider the general model as a single 4-df test

Statistical Details

Effect Estimation

For each model, Binx estimates:

y = μ + Xβ + u + ε

Where:

  • y = phenotype
  • μ = intercept
  • X = design matrix (model-specific)
  • β = fixed marker effect
  • u = random polygenic effect
  • ε = residual

Testing

The null hypothesis (H₀: β = 0) is tested using a Wald test:

W = β² / Var(β)

Which follows a χ² distribution with degrees of freedom depending on the model.

Examples

Compare Additive vs Dominant

# Run both models
binx gwas \
  --geno geno.tsv \
  --pheno pheno.csv \
  --trait yield \
  --ploidy 4 \
  --models additive,1-dom \
  --out results.csv

# Find markers significant in one but not other
awk -F',' 'NR==1 {print; next}
  {key=$1","$2","$3; if(key in seen) {
    if(($4=="additive" && $5>5 && seen[key]<5) ||
       ($4!="additive" && $5<5 && seen[key]>5))
      print key, "differs"
  }
  seen[key]=$5}' results.csv

All Tetraploid Models

binx gwas \
  --geno geno.tsv \
  --pheno pheno.csv \
  --trait yield \
  --ploidy 4 \
  --models additive,general,1-dom,2-dom,diplo-additive,diplo-general \
  --out all_models.csv

References

  1. Rosyara, U.R., De Jong, W.S., Douches, D.S., & Endelman, J.B. (2016). Software for genome-wide association studies in autopolyploids and its application to potato. The Plant Genome 9(2).

  2. Endelman, J.B. (2011). Ridge regression and other kernels for genomic selection with R package rrBLUP. The Plant Genome 4:250-255.

See Also