EVOLUTION-MANAGER
Edit File: rescalemap.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: Rescale genetic maps</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 rescalemap {qtl}"><tr><td>rescalemap {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Rescale genetic maps</h2> <h3>Description</h3> <p>Rescale a genetic map by multiplying all positions by a constant </p> <h3>Usage</h3> <pre> rescalemap(object, scale=1e-6) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>object</code></td> <td> <p>An object of class <code>cross</code> (see <code><a href="read.cross.html">read.cross</a></code> for details) or <code>map</code> (see <code><a href="sim.map.html">sim.map</a></code> for details).</p> </td></tr> <tr valign="top"><td><code>scale</code></td> <td> <p>Scale factor by which all positions will be multiplied.</p> </td></tr> </table> <h3>Details</h3> <p>This function is included particularly for the case that map positions in a cross object were provided in basepairs and one wishes to quickly convert them to Mbp or some other approximation of cM distances. (In the mouse, 1 cM is approximation 2 Mbp, so one might use <code>scale=5e-7</code> in this function.) </p> <h3>Value</h3> <p>If the input is a <code>map</code> object, a <code>map</code> object is returned; if the input is a <code>cross</code> object, a <code>cross</code> object is returned. In either case, the positions of markers are simply multiplied by <code>scale</code>. </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="replace.map.html">replace.map</a></code>, <code><a href="est.map.html">est.map</a></code> </p> <h3>Examples</h3> <pre> data(hyper) rescaled <- rescalemap(hyper, scale=2) plotMap(hyper, rescaled) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>