EVOLUTION-MANAGER
Edit File: replacemap.scanone.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 in QTL mapping results with an...</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 replacemap.scanone {qtl}"><tr><td>replacemap.scanone {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Replace the genetic map in QTL mapping results with an alternate map</h2> <h3>Description</h3> <p>Replace the positions of LOD scores in output from <code><a href="scanone.html">scanone</a></code> with values based on an alternative map (such as a physical map), with pseudomarker locations determined by linear interpolation. </p> <h3>Usage</h3> <pre> ## S3 method for class 'scanone' replacemap(object, map) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>object</code></td> <td> <p>An object of class <code>"scanone"</code>, as output by the function <code><a href="scanone.html">scanone</a></code>.</p> </td></tr> <tr valign="top"><td><code>map</code></td> <td> <p>A list containing the alternative genetic map. All chromosomes in <code>object</code> should have corresponding chromosomes in <code>map</code>, and markers must be in the same order in the two maps. There must be at least two markers on each chromosome in <code>map</code> that appear in <code>object</code>.</p> </td></tr> </table> <h3>Details</h3> <p>The positions of pseudomarkers are determined by linear interpolation between markers. In the case of pseudomarkers beyond the ends of the terminal markers on chromosomes, we use the overall lengths of the chromosome in <code>object</code> and <code>map</code> to determine the new spacing. </p> <h3>Value</h3> <p>The input <code>object</code> with the positions of LOD scores revised to match those in the input <code>map</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">replacemap.cross</a></code>, <code><a href="est.map.html">est.map</a></code>, <code><a href="replacemap.scantwo.html">replacemap.scantwo</a></code> </p> <h3>Examples</h3> <pre> data(fake.f2) origmap <- pull.map(fake.f2) newmap <- est.map(fake.f2) fake.f2 <- replacemap(fake.f2, newmap) fake.f2 <- calc.genoprob(fake.f2, step=2.5) out <- scanone(fake.f2, method="hk") out.rev <- replacemap(out, origmap) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>