EVOLUTION-MANAGER
Edit File: geno.crosstab.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create table of two-locus genotypes</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for geno.crosstab {qtl}"><tr><td>geno.crosstab {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create table of two-locus genotypes</h2> <h3>Description</h3> <p>Create a cross tabulation of the genotypes at a pair of markers. </p> <h3>Usage</h3> <pre> geno.crosstab(cross, mname1, mname2, eliminate.zeros=TRUE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>cross</code></td> <td> <p>An object of class <code>cross</code>. See <code><a href="read.cross.html">read.cross</a></code> for details.</p> </td></tr> <tr valign="top"><td><code>mname1</code></td> <td> <p>The name of the first marker (as a character string). (Alternatively, a vector with the two character strings, in which case <code>mname2</code> should not be given.)</p> </td></tr> <tr valign="top"><td><code>mname2</code></td> <td> <p>The name of the second marker (as a character string).</p> </td></tr> <tr valign="top"><td><code>eliminate.zeros</code></td> <td> <p>If TRUE, don't show the rows and columns that have no data.</p> </td></tr> </table> <h3>Value</h3> <p>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. </p> <h3>Author(s)</h3> <p>Karl W Broman, <a href="mailto:broman@wisc.edu">broman@wisc.edu</a> </p> <h3>See Also</h3> <p><code><a href="geno.table.html">geno.table</a></code>, <code><a href="find.marker.html">find.marker</a></code> </p> <h3>Examples</h3> <pre> data(hyper) geno.crosstab(hyper, "D1Mit123", "D1Mit156") geno.crosstab(hyper, "DXMit22", "DXMit16") geno.crosstab(hyper, c("DXMit22", "DXMit16")) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>