EVOLUTION-MANAGER
Edit File: shiftmap.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: Shift starting points in 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 shiftmap {qtl}"><tr><td>shiftmap {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Shift starting points in genetic maps</h2> <h3>Description</h3> <p>Shift starting points in a genetic map to a set of defined positions </p> <h3>Usage</h3> <pre> shiftmap(object, offset=0) </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>offset</code></td> <td> <p>Defines the starting position for each chromosome. This should be a single value (to be used for all chromosomes) or a vector with length equal to the number of chromosomes, defining individual starting positions for each chromosome. For a sex-specific map (as in a 4-way cross), we use the same offset for both the male and female maps.</p> </td></tr> </table> <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 shifted so that the starting positions are as in <code>offset</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) shiftedhyper <- shiftmap(hyper, offset=0) par(mfrow=c(1,2)) plotMap(hyper, shift=FALSE, alternate.chrid=TRUE) plotMap(shiftedhyper, shift=FALSE, alternate.chrid=TRUE) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>