| geno.crosstab | R Documentation |
Create a cross tabulation of the genotypes at a pair of markers.
geno.crosstab(cross, mname1, mname2, eliminate.zeros=TRUE)
cross |
An object of class |
mname1 |
The name of the first marker (as a character
string). (Alternatively, a vector with the two character strings, in
which case |
mname2 |
The name of the second marker (as a character string). |
eliminate.zeros |
If TRUE, don't show the rows and columns that have no data. |
A matrix containing the number of individuals having each possible pair of genotypes. Genotypes for the first marker are in the rows; genotypes for the second marker are in the columns.
Karl W Broman, broman@wisc.edu
geno.table,
find.marker
data(hyper)
geno.crosstab(hyper, "D1Mit123", "D1Mit156")
geno.crosstab(hyper, "DXMit22", "DXMit16")
geno.crosstab(hyper, c("DXMit22", "DXMit16"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.