Software Open Access
Matthew
2.16.2.0 NEW
geneDrop() conducts a gene dropping simulation down a user-supplied pedigree.simGG() now simulates phenotypes with heterogeneous additive genetic variances among the genetic groups (i.e., immigrant and resident groups)makeGGAinv() added as a new function to construct genetic group-specific inverse relatedness matrices (Ainv).?makeGGAinv), but below is a basic example:ggPed <- Q1988[-c(3:7), c("id", "damGG", "sireGG")]
AinvOut <- makeGGAinv(ggPed, ggroups = 2)$Ainv #<-- list with 2 Ainv matrices
makeTinv() and makeDiiF() functionsfmakeGGAinv().makeDiiF() creates the D matrix of the Cholesky factorization of the relatedness matrix below (i.e., A and the coefficients of inbreeding (diagonals-1 of A)makeTinv() creates Tinv of the Cholesky factorization of the inverse relatedness matrix below (i.e., Ainv)1 / d_iiDinv <- D followed by Dinv@x <- 1 / D@xmakeTinv(Mrode2)
makeDiiF(Mrode2)
| Name | Size | |
|---|---|---|
|
matthewwolak/nadiv-552b35115f.zip
md5:2c88cecff1d776eb5abcf7c8dda829ed |
775.8 kB | Download |
| All versions | This version | |
|---|---|---|
| Views | 45 | 19 |
| Downloads | 6 | 0 |
| Data volume | 4.6 MB | 0 Bytes |
| Unique views | 45 | 19 |
| Unique downloads | 3 | 0 |