logTransPheno: logarithmic transformation

Description Usage Arguments Details Value Examples

View source: R/logTransPheno.R

Description

Logarithmic Transformation of Phenotype

Usage

1

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

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

FRGEpistasis documentation built on Nov. 8, 2020, 5:51 p.m.