View source: R/model.matrix.diallel_v2.00.R
SCA | R Documentation |
SCA effect to fit Hayman2, Griffing3 (SCA.G3), GE2 and GE3 (SCA.GE) models with lm
function
SCA(P1, P2, type = "fix", data)
SCA.G3(P1, P2, type = "fix", data)
P1 |
|
P2 |
|
type |
|
data |
|
a design matrix of all possible combinations between parentals with no selfs and no reciprocals
A design matrix for the SCA effect
Andrea Onofri, Niccolo' Terzaroli, Luigi Russi
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
data("zhang05")
dMod <- lm(Yield ~ Env/Block + H.BAR(Par1, Par2) + VEi(Par1, Par2) +
Hi(Par1, Par2) + SCA(Par1, Par2) +
H.BAR(Par1, Par2):Env + VEi(Par1, Par2):Env +
Hi(Par1, Par2):Env + SCA(Par1, Par2):Env, data = zhang05)
anova(dMod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.