EVOLUTION-MANAGER
Edit File: transformPheno.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: Transformation of the phenotypes in a cross object</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 transformPheno {qtl}"><tr><td>transformPheno {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Transformation of the phenotypes in a cross object</h2> <h3>Description</h3> <p>Transform phenotypes in a cross object; by default use a logarithmic transformation, though any function may be used. </p> <h3>Usage</h3> <pre> transformPheno(cross, pheno.col=1, transf=log, ...) </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>pheno.col</code></td> <td> <p>A vector of numeric indices or character strings (indicating phenotypes by name) of phenotypes to be transformed. </p> </td></tr> <tr valign="top"><td><code>transf</code></td> <td> <p>The function to use in the transformation.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional arguments, to be passed to <code>transf</code>.</p> </td></tr> </table> <h3>Value</h3> <p>The input cross object with the transformed phenotypes </p> <h3>Author(s)</h3> <p>Danny Arends <a href="mailto:danny.arends@gmail.com">danny.arends@gmail.com</a> </p> <h3>See Also</h3> <p><code><a href="mqmscan.html">mqmscan</a></code>, <code><a href="scanone.html">scanone</a></code> </p> <h3>Examples</h3> <pre> data(multitrait) # Log transformation of all phenotypes multitrait.log <- transformPheno(multitrait, pheno.col=1:nphe(multitrait)) # Square-root transformation of all phenotypes multitrait.sqrt <- transformPheno(multitrait, pheno.col=1:nphe(multitrait), transf=sqrt) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>