Total SCA to fit Hayman1, Griffing1 and Griffing2 models with lm function
Usage
tSCA(P1,P2,type = "fix", data)
Value
A design matrix for the tSCA effect
Arguments
P1
a variable for the first parent
P2
a variable for the second parent
type
a variable for model selection. May be "fix" (fixed model) or "random" (random model).
data
a 'data.frame' where to look for explanatory variables
Author
Andrea Onofri, Niccolo' Terzaroli, Luigi Russi
Details
a design matrix of all possible combinations between parentals with selfs but no reciprocals
References
Onofri, A., Terzaroli, N. & Russi, L. Linear models for diallel crosses: a review with R functions. Theor Appl Genet (2020). https://doi.org/10.1007/s00122-020-03716-8