Description Usage Arguments Value Author(s) Examples
A tool to summarise and compare alleles when we do not care what order they are reported in, i.e. when A/G and G/A are considered the same.
1 | allelesAB(A1, A2, sep = "/")
|
A1 |
a vector of allele names. |
A2 |
a vector of allele names, of same length as |
sep |
string to use as a separator. |
A vector of combined allele names; elementwise A1
and A2
are pasted together in alphabetically increasing order.
Toby Johnson Toby.x.Johnson@gsk.com
1 2 | data(t2d.scores)
table(allelesAB(t2d.scores$coded.allele, t2d.scores$noncoded.allele))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.