logTransPheno {FRGEpistasis}R Documentation

logarithmic transformation

Description

Logarithmic Transformation of Phenotype

Usage

logTransPheno(pheno)

Arguments

pheno

Vector of phenotype which is the quantitative trait.

Details

Some variables are not normally distributed. And using statistical tests on this data can give misleading results because they do not meet the statistical assumptions. Many variables have log-normal distributions.

Value

Return vector of transformed phenotype.

Examples


smp_num=100
pheno<-sample(c(0:500),smp_num,replace=TRUE)
logTransPheno(pheno)

[Package FRGEpistasis version 1.28.0 Index]