This function uses the list of matrices (the output of cs
) and runs one of the options, on each element of the list, in parallel.
para(halfsibs, cpus = 1, option = "bmh", type = "SOCK", bmh_forwardVectorSize = 30,
bmh_excludeFP = TRUE, bmh_nsap = 3, pmMethod = "constant")
Returns a list of matrices with the results (formats specific to the option selected).
list
list of matrices of half-sibs (can be generated with hss
and cs
functions)
numeric
number of CPUs (thread)
character
type of analysis
character
type of cluster for parallel analysis
integer
number of heterozygous sites used to validate recombination events or check for genotyping errors
logical
exclude SNPs that may cause heterozygous sites in the sire due to genotyping errors or map errors
integer
number of SNPs per block
character
method for creating the recombination matrix
Type of analysis can be bmh
, ssp
, aio
, pm
, or rec (refer to pm
, rplot
and vignette for more information about rec).