Transformation of the phenotypes in a cross object
Transform phenotypes in a cross object; by default use a logarithmic transformation, though any function may be used.
transformPheno(cross, pheno.col=1, transf=log, ...)
cross |
An object of class |
pheno.col |
A vector of numeric indices or character strings (indicating phenotypes by name) of phenotypes to be transformed. |
transf |
The function to use in the transformation. |
... |
Additional arguments, to be passed to |
The input cross object with the transformed phenotypes
Danny Arends danny.arends@gmail.com
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.