EVOLUTION-MANAGER
Edit File: plotLodProfile.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: Plot 1-d LOD profiles for a multiple QTL model</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 plotLodProfile {qtl}"><tr><td>plotLodProfile {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Plot 1-d LOD profiles for a multiple QTL model</h2> <h3>Description</h3> <p>Use the results of <code><a href="refineqtl.html">refineqtl</a></code> to plot one-dimensional LOD profiles for each QTL. </p> <h3>Usage</h3> <pre> plotLodProfile(qtl, chr, incl.markers=TRUE, gap=25, lwd=2, lty=1, col="black", qtl.labels=TRUE, mtick=c("line", "triangle"), show.marker.names=FALSE, alternate.chrid=FALSE, add=FALSE, showallchr=FALSE, labelsep=5, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>qtl</code></td> <td> <p>An object of class <code>"qtl"</code>; must have been produced by <code><a href="refineqtl.html">refineqtl</a></code> using <code>keeplodprofiles=TRUE</code>.</p> </td></tr> <tr valign="top"><td><code>chr</code></td> <td> <p>Optional vector indicating the chromosomes to plot. 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>incl.markers</code></td> <td> <p>Indicate whether to plot line segments at the marker locations.</p> </td></tr> <tr valign="top"><td><code>gap</code></td> <td> <p>Gap separating chromosomes (in cM).</p> </td></tr> <tr valign="top"><td><code>lwd</code></td> <td> <p>Line widths for each QTL trace (length 1 or the number of QTL).</p> </td></tr> <tr valign="top"><td><code>lty</code></td> <td> <p>Line types for each QTL trace (length 1 or the number of QTL).</p> </td></tr> <tr valign="top"><td><code>col</code></td> <td> <p>Line col for each QTL trace (length 1 or the number of QTL).</p> </td></tr> <tr valign="top"><td><code>qtl.labels</code></td> <td> <p>If TRUE, place a label on each QTL trace.</p> </td></tr> <tr valign="top"><td><code>mtick</code></td> <td> <p>Tick mark type for markers (line segments or upward-pointing triangels).</p> </td></tr> <tr valign="top"><td><code>show.marker.names</code></td> <td> <p>If TRUE, show the marker names along the x axis.</p> </td></tr> <tr valign="top"><td><code>alternate.chrid</code></td> <td> <p>If TRUE and more than one chromosome is plotted, alternate the placement of chromosome axis labels, so that they may be more easily distinguished.</p> </td></tr> <tr valign="top"><td><code>add</code></td> <td> <p>If TRUE, add curves to a current plot.</p> </td></tr> <tr valign="top"><td><code>showallchr</code></td> <td> <p>If FALSE (the default), only show the chr with a QTL</p> </td></tr> <tr valign="top"><td><code>labelsep</code></td> <td> <p>If <code>qtl.labels=TRUE</code>, separation between peak LOD and QTL label, as percent of the height of the plot.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Passed to the function <code><a href="../../graphics/html/plot.html">plot</a></code> when it is called.</p> </td></tr> </table> <h3>Details</h3> <p>The function plots LOD profiles in the context of a multiple QTL model, using a scheme best described in Zeng et al. (2000). The position of each QTL is varied, keeping all other loci fixed. If a QTL is isolated on a chromosome, the entire chromosome is scanned; if there are additional linked QTL, the position of a QTL is scanned over the largest interval possible without allowing the order of QTLs along a chromosome to change. At each position for the QTL being scanned, we calculate a LOD score comparing the full model, with the QTL of interest at that particular position (and all others at their fixed positions) to the model with the QTL of interest (and any interactions that include that QTL) omitted. </p> <p>Care should be take regarding the arguments <code>lwd</code>, <code>lty</code>, and <code>col</code>; if vectors are given, they should be in the order of the QTL within the object, which may be different than the order in which they are plotted. (The LOD profiles are sorted by chromosome and position.) </p> <h3>Value</h3> <p>None.</p> <h3>Author(s)</h3> <p>Karl W Broman, <a href="mailto:broman@wisc.edu">broman@wisc.edu</a> </p> <h3>References</h3> <p>Zeng Z.-B., Liu, J., Stam, L. F., Kao, C.-H., Mercer, J. M. and Laurie, C. C. (2000) Genetic architecture of a morphological shape difference between two Drosophila species. <em>Genetics</em> <b>154</b>, 299–310. </p> <h3>See Also</h3> <p><code><a href="refineqtl.html">refineqtl</a></code>, <code><a href="makeqtl.html">makeqtl</a></code>, <code><a href="scanqtl.html">scanqtl</a></code> </p> <h3>Examples</h3> <pre> data(fake.bc) fake.bc <- calc.genoprob(fake.bc, step=2) qtl <- makeqtl(fake.bc, chr=c(2,5), pos=c(32.5, 17.5), what="prob") out <- scanone(fake.bc, method="hk") # refine QTL positions and keep LOD profiles rqtl <- refineqtl(fake.bc, qtl=qtl, method="hk", keeplodprofile=TRUE) # plot the LOD profiles plotLodProfile(rqtl) # add the initial scan results, for comparison plot(out, add=TRUE, chr=c(2,5), col="red") </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>