EVOLUTION-MANAGER
Edit File: replace.map.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: Replace the genetic map of a cross</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 replace.map {qtl}"><tr><td>replace.map {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Replace the genetic map of a cross</h2> <h3>Description</h3> <p>Replace the map portion of a cross object. </p> <h3>Usage</h3> <pre> replace.map(cross, map) ## S3 method for class 'cross' replacemap(object, map) </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>object</code></td> <td> <p>Same as <code>cross</code>.</p> </td></tr> <tr valign="top"><td><code>map</code></td> <td> <p>A list containing the new genetic map. This must be the same length and with the same marker names as that contained in <code>cross</code>. </p> </td></tr> </table> <h3>Value</h3> <p>The input <code>cross</code> object with the genetic map replaced by the input <code>map</code>. Maps for results from <code><a href="calc.genoprob.html">calc.genoprob</a></code>, <code><a href="sim.geno.html">sim.geno</a></code> and <code><a href="argmax.geno.html">argmax.geno</a></code> are also replaced, using interpolation if necessary.</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="pull.map.html">pull.map</a></code>, <code><a href="est.map.html">est.map</a></code> </p> <h3>Examples</h3> <pre> data(fake.f2) newmap <- est.map(fake.f2) plotMap(fake.f2, newmap) fake.f2 <- replace.map(fake.f2, newmap) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>