Extends the pedigree according to number of selfing cycles and also optionally computes the Additive Relationship Matrix for that pedigree.
getASelfing(
ID,
Par1,
Par2,
nCycles,
nCyclesDefault,
sepChar = "-F",
verbose = FALSE,
fileNewPed = NULL,
computeA = TRUE
)Returns A matrix computed for the extended pedigree if computeA=TRUE
is a vector of individual IDs
vector of IDs of one of the parents
vector of IDs of the other parent
vector that indicates number of selfing cycles for each individual.
default value of nCycles
character, used for expanded pedigree IDs
logical, print progress
Output csv file (comma separated value) with columns 'label', 'sire', 'dam', with the full pull pedigree expanded taking into account the selfing cycles
Indicates if the A matrix is to be computed