EVOLUTION-MANAGER
Edit File: plot.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: Plot genetic map</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 plotMap {qtl}"><tr><td>plotMap {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Plot genetic map</h2> <h3>Description</h3> <p>Plot genetic map of marker locations for all chromosomes. </p> <h3>Usage</h3> <pre> ## S3 method for class 'map' plot(x, map2, chr, horizontal=FALSE, shift=TRUE, show.marker.names=FALSE, alternate.chrid=FALSE, ...) plotMap(x, map2, chr, horizontal=FALSE, shift=TRUE, show.marker.names=FALSE, alternate.chrid=FALSE, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>A list whose components are vectors of marker locations. A <code>cross</code> object may be given instead, in which case the genetic map it contains is used.</p> </td></tr> <tr valign="top"><td><code>map2</code></td> <td> <p>An optional second genetic map with the same number (and names) of chromosomes. As with the first argument, a <code>cross</code> object may be given instead. If this argument is given, a comparison of the two genetic maps is plotted.</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>horizontal</code></td> <td> <p>Specifies whether the chromosomes should be plotted horizontally.</p> </td></tr> <tr valign="top"><td><code>shift</code></td> <td> <p>If TRUE, shift the first marker on each chromosome to be at 0 cM.</p> </td></tr> <tr valign="top"><td><code>show.marker.names</code></td> <td> <p>If TRUE, marker names are included.</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>...</code></td> <td> <p>Passed to <code><a href="../../graphics/html/plot.html">plot</a></code>.</p> </td></tr> </table> <h3>Details</h3> <p>Plots the genetic map for each chromosome, or a comparison of the genetic maps if two maps are given. </p> <p>For a comparison of two maps, the first map is on the left (or, if <code>horizontal=TRUE</code>, on the top). Lines are drawn to connect markers. Markers that exist in just one map and not the other are indicated by short line segments, on one side or the other, that are not connected across. </p> <p>For a sex-specific map, female and male maps are plotted against one another. For two sex-specific maps, the two female maps are plotted against one another and the two male maps are plotted against one another. </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>See Also</h3> <p><code><a href="est.map.html">est.map</a></code>, <code><a href="plot.cross.html">plot.cross</a></code> </p> <h3>Examples</h3> <pre> data(fake.bc) plotMap(fake.bc) plotMap(fake.bc,horizontal=TRUE) newmap <- est.map(fake.bc) plot(newmap) plotMap(fake.bc, newmap) plotMap(fake.bc, show.marker.names=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>