Decompose trait values according to the model z=G+I+E+epsilon

decomposeTrait(data, GEValues, copy = TRUE)

Arguments

data

a data.table returned by extractPop

GEValues

a matrix of GEValues

copy

logical indicating whether a copy of the original data.table should be returned (TRUE by default)