EVOLUTION-MANAGER
Edit File: orderMarkers.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 an initial order for markers within chromosomes</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 orderMarkers {qtl}"><tr><td>orderMarkers {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Find an initial order for markers within chromosomes</h2> <h3>Description</h3> <p>Establish initial orders for markers within chromosomes by a greedy algorithm, adding one marker at a time with locations of previous markers fixed, in the position giving the miniminum number of obligate crossovers. </p> <h3>Usage</h3> <pre> orderMarkers(cross, chr, window=7, use.ripple=TRUE, error.prob=0.0001, map.function=c("haldane","kosambi","c-f","morgan"), maxit=4000, tol=1e-4, sex.sp=TRUE, verbose=FALSE) </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>Optional vector indicating the chromosomes to consider. This should be a vector of character strings referring to chromosomes by name; numeric values are converted to strings. Refer to chromosomes with a preceding <code>-</code> to have all chromosomes but those considered. A logical (TRUE/FALSE) vector may also be used.</p> </td></tr> <tr valign="top"><td><code>window</code></td> <td> <p>If <code>use.ripple=TRUE</code>, this indicates the number of markers to include in the sliding window of permuted markers. Larger numbers result in the comparison of a greater number of marker orders, but will require a considerable increase in computation time.</p> </td></tr> <tr valign="top"><td><code>use.ripple</code></td> <td> <p>If TRUE, the initial order is refined by a call to the function <code><a href="ripple.html">ripple</a></code>.</p> </td></tr> <tr valign="top"><td><code>error.prob</code></td> <td> <p>Assumed genotyping error rate used in the final estimated map.</p> </td></tr> <tr valign="top"><td><code>map.function</code></td> <td> <p>Indicates the map function to use in the final estimated map.</p> </td></tr> <tr valign="top"><td><code>maxit</code></td> <td> <p>Maximum number of EM iterations to perform in the final estimated map.</p> </td></tr> <tr valign="top"><td><code>tol</code></td> <td> <p>Tolerance for determining convergence in the final estimated map.</p> </td></tr> <tr valign="top"><td><code>sex.sp</code></td> <td> <p>Indicates whether to estimate sex-specific maps in the final estimated map; this is used only for the 4-way cross.</p> </td></tr> <tr valign="top"><td><code>verbose</code></td> <td> <p>If TRUE, information about the progress of the calculations is displayed; if > 1, even more information is given.</p> </td></tr> </table> <h3>Details</h3> <p>Markers within a linkage group are considered in order of decreasing number of genotyped individuals. The first two markers are placed in an arbitrary order. Additional markers are considered one at a time, and each possible placement of a marker is compared (with the order of the previously placed markers taken as fixed) via the number of obligate crossovers (that is, the minimal number of crossovers that would explain the observed data). The marker is placed in the position giving the minimal number of obligate crossovers. If multiple positions give the same number of obligate crossovers, a single location (among those positions) is chosen at random. </p> <p>If <code>use.ripple=TRUE</code>, the final order is passed to <code><a href="ripple.html">ripple</a></code> with <code>method="countxo"</code> to refine the marker order. If <code>use.ripple=TRUE</code> and the number of markers on a chromosome is <i><=</i> the argument <code>window</code>, the initial greedy algorithm is skipped and all possible marker orders are compared via <code><a href="ripple.html">ripple</a></code>. </p> <h3>Value</h3> <p>The output is a cross object, as in the input, with orders of markers on selected chromosomes revised. </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="formLinkageGroups.html">formLinkageGroups</a></code>, <code><a href="ripple.html">ripple</a></code>, <code><a href="est.map.html">est.map</a></code>, <code><a href="countXO.html">countXO</a></code> </p> <h3>Examples</h3> <pre> data(listeria) pull.map(listeria, chr=3) revcross <- orderMarkers(listeria, chr=3, use.ripple=FALSE) pull.map(revcross, chr=3) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>