EVOLUTION-MANAGER
Edit File: plot.pheno.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 a phenotype distribution</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 plotPheno {qtl}"><tr><td>plotPheno {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Plot a phenotype distribution</h2> <h3>Description</h3> <p>Plots a histogram or barplot of the data for a phenotype from an experimental cross. </p> <h3>Usage</h3> <pre> plotPheno(x, pheno.col=1, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</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>pheno.col</code></td> <td> <p>The phenotype column to plot: a numeric index, or the phenotype name as a character string. Alternatively, one may give a numeric vector of phenotypes, in which case it must have the length equal to the number of individuals in the cross, and there must be either non-integers or values < 1 or > no. phenotypes; this last case may be useful for studying transformations.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Passed to <code><a href="../../graphics/html/hist.html">hist</a></code> or <code><a href="../../graphics/html/barplot.html">barplot</a></code>.</p> </td></tr> </table> <h3>Details</h3> <p>Numeric phenotypes are displayed as histograms with approximately <i>2 sqrt(n)</i> bins. Phenotypes that are factors or that have very few unique values are displayed as barplots. </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="plot.cross.html">plot.cross</a></code>, <code><a href="plot.map.html">plotMap</a></code>, <code><a href="plot.missing.html">plotMissing</a></code>, <code><a href="../../graphics/html/hist.html">hist</a></code>, <code><a href="../../graphics/html/barplot.html">barplot</a></code> </p> <h3>Examples</h3> <pre> data(fake.bc) plotPheno(fake.bc, pheno.col=1) plotPheno(fake.bc, pheno.col=3) plotPheno(fake.bc, pheno.col="age") </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>