Description Usage Arguments Value Examples

Fits a log-linear model for allelic association between two codominant autosomal loci. Measures of LD are odds ratios.

1 | ```
ld2(locus1, locus2)
``` |

`locus1` |
is a character vector containing the genotypes at the first locus, or a RxC contingency table of genotype counts. |

`locus2` |
is a character vector containing the genotypes at the second locus. |

`m0` |
base model |

`m1` |
estimating LD coefficient(s) assuming HWE |

`m2` |
testing HWE at locus 1 |

`m3` |
testing HWE at locus 2 |

`m4` |
estimating LD and HWD coefficient(s) |

1 2 3 4 5 6 7 |

gllm documentation built on May 29, 2017, 12:50 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.