transformData(transforms, data, transform.prefix = "tr_", ...)
transformTraitfunction called inside of
transformData. For example, it might be a parameter
transformTraitfunction in the case
transformis equal to
The function looks for traits in colulms of input data frame,
transformTrait function per trait,
and rename the traits.
By default, the name of a transformed trait is updated
to one with a prefixed given in
(the default value is
Such renaming is assumed to make the user aware that the trait is transformed.
This function is internally called in
transforms argument is specified.
In this case of the polygenic analysis,
the transform operation is invisible to the user.
However, it is recommended to manually transform traits
in other linkage and association analyses.