EVOLUTION-MANAGER
Edit File: typingGap.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: Maximum distance between genotyped markers</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 typingGap {qtl}"><tr><td>typingGap {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Maximum distance between genotyped markers</h2> <h3>Description</h3> <p>Calculates, for each individual on each chromosome, the maximum distance between genotyped markers. </p> <h3>Usage</h3> <pre> typingGap(cross, chr, terminal=FALSE) </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>chr</code></td> <td> <p>Optional vector indicating the chromosomes to consider. This should be a vector of character strings referring to chromosomes by name; numeric values are converted to strings. Refer to chromosomes with a preceding <code>-</code> to have all chromosomes but those considered. A logical (TRUE/FALSE) vector may also be used.</p> </td></tr> <tr valign="top"><td><code>terminal</code></td> <td> <p>If TRUE, just look at terminal typing gaps (from the terminal markers to the first typed marker).</p> </td></tr> </table> <h3>Details</h3> <p>We consider not just the distances between internal genotypes, but also distances from the beginning of the chromosome to the first typed marker, and similarly for the end of the chromosome. (The start and end of a chromosome are taken to be the locations of the initial and final markers.) If <code>terminal=TRUE</code>, we look only at those beginning and end distances. </p> <h3>Value</h3> <p>A matrix with rows corresponding to individuals and columns corresponding to chromosomes. (If there is just one chromosome, it is a numeric vector rather than a matrix.) </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="ntyped.html">ntyped</a></code>, <code><a href="nmissing.html">nmissing</a></code>, <code><a href="locateXO.html">locateXO</a></code> </p> <h3>Examples</h3> <pre> data(hyper) plot(typingGap(hyper, chr=5), ylab="Maximum gap between typed markers (cM)", ylim=c(0, diff(range(pull.map(hyper,chr=5)[[1]])))) plot(typingGap(hyper, chr=4), ylab="Maximum gap between typed markers (cM)", ylim=c(0, diff(range(pull.map(hyper,chr=4)[[1]])))) plot(typingGap(hyper, chr=4, terminal=TRUE), ylab="Maximum gap between chr end and typed marker (cM)", ylim=c(0, diff(range(pull.map(hyper,chr=4)[[1]])))) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>