Compute global and partial R2 statistics for MPP GxE QTL using a linear model.
The global R2 is the contribution of all QTL positions while the partial R2
is the specific contribution of an individual QTL position.
List containing the global unadjusted R2, the global adjusted R2,
the partial unadjusted R2, and the partial adjusted R2.
Arguments
mppData
An object of class mppData.
trait
Character vector specifying which traits (environments) should be used.
QTL
Object of class QTLlist representing a list of
selected marker positions obtained with the function QTL_select() or
a vector of character marker positions names. Default = NULL.
glb.only
Logical value. If glb.only = TRUE, only the global and
global adjusted R squared will be returned. Default = FALSE.