logTransPheno {FRGEpistasis} | R Documentation |
Logarithmic Transformation of Phenotype
logTransPheno(pheno)
pheno |
Vector of phenotype which is the quantitative trait. |
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.
Return vector of transformed phenotype.
smp_num=100 pheno<-sample(c(0:500),smp_num,replace=TRUE) logTransPheno(pheno)