makeS(pedigree, heterogametic = "0", DosageComp = c(NULL, "ndc", "hoin"), returnS = FALSE)
returnS
= FALSEThe inverse of the sex-chromosome additive genetic relationship matrix (S-matrix) is constructed according to the algorithm presented in Fernando & Grossman (1990). Additionally, the S-matrix itself can be constructed (although this takes much longer than computing S-inverse directly).
The algorithm in Fernando & Grossman (1990) does not account for any form of sex chromosome dosage compensation mechanism. I have implemented one model, random X-inactivation (i.e., lyonization), in an attempt for more congruence with the biology of many organisms (e.g., eutherian mammals). This second model of random inactivation in the homozygous sex is still preliminary and has yet to be properly peer reviewed.
makeS(FG90, heterogametic = "0", returnS = TRUE)
Run the code above in your browser using DataLab