allGenotypes | R Documentation |

An autosomal marker with `n`

alleles has `choose(n+1, 2)`

possible
unordered genotypes. This function returns these as rows in a
matrix.

allGenotypes(n)

`n` |
A positive integer. |

An integer matrix with two columns and `choose(n+1, 2)`

rows.

allGenotypes(3)

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.