EVOLUTION-MANAGER
Edit File: find.marker.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: Find marker closest to a specified position</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 find.marker {qtl}"><tr><td>find.marker {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Find marker closest to a specified position</h2> <h3>Description</h3> <p>Find the genetic marker closest to a specified position on a chromosome. </p> <h3>Usage</h3> <pre>find.marker(cross, chr, pos, index)</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>A vector of chromosome identifiers, or a single such.</p> </td></tr> <tr valign="top"><td><code>pos</code></td> <td> <p>A vector of cM positions.</p> </td></tr> <tr valign="top"><td><code>index</code></td> <td> <p>A vector of numeric indices of the markers within chromosomes.</p> </td></tr> </table> <h3>Details</h3> <p>Provide one of <code>pos</code> or <code>index</code>. </p> <p>If the input <code>chr</code> has length one, it is expanded to the same length as the input <code>pos</code> or <code>index</code>. </p> <p>If <code>pos</code> is specified and multiple markers are exactly the same distance from the specified position, one is chosen at random from among those with the most genotype data. </p> <p>For a cross with sex-specific maps, positions specified by <code>pos</code> are assumed to correspond to the female genetic map. </p> <h3>Value</h3> <p>A vector of marker names (of the same length as the input <code>pos</code>), corresponding to the markers nearest to the specified chromosomes/positions (if <code>pos</code> is specified) or to the input numeric indices (in <code>index</code> is specified). </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="find.flanking.html">find.flanking</a></code>, <code><a href="plot.pxg.html">plotPXG</a></code>, <code><a href="find.pseudomarker.html">find.pseudomarker</a></code>, <code><a href="effectplot.html">effectplot</a></code>, <code><a href="find.markerpos.html">find.markerpos</a></code> </p> <h3>Examples</h3> <pre> data(listeria) find.marker(listeria, 5, 28) find.marker(listeria, 5, index=6) find.marker(listeria, c(1, 5, 13), c(81, 28, 26)) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>