qmatXL {ggroups} | R Documentation |
Matrix Q for large pedigrees (parallel processing)
Description
Creates the genetic group contribution matrix for large pedigrees, with parallel processing.
Usage
qmatXL(ped2, ncl)
Arguments
ped2 |
: The output |
ncl |
: User defined number of nodes; if the number of user defined nodes is greater than the number of genetic groups, the number genetic groups is considered as the number of nodes. |
Details
This function is the parallel version of qmatL
. It requires foreach
and doParallel
packages.
Value
Q matrix
Examples
ped = data.frame(ID=c(3,4,6,5), SIRE=c(1,3,4,1), DAM=c(2,2,5,2))
ped2 = gghead(ped)
qmatXL(ped2, 2)
[Package ggroups version 2.1.2 Index]