getASelfing | R Documentation |
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
)
ID |
is a vector of individual IDs |
Par1 |
vector of IDs of one of the parents |
Par2 |
vector of IDs of the other parent |
nCycles |
vector that indicates number of selfing cycles for each individual. |
nCyclesDefault |
default value of nCycles |
sepChar |
character, used for expanded pedigree IDs |
verbose |
logical, print progress |
fileNewPed |
Output csv file (comma separated value) with columns 'label', 'sire', 'dam', with the full pull pedigree expanded taking into account the selfing cycles |
computeA |
Indicates if the A matrix is to be computed |
Returns A matrix computed for the extended pedigree if computeA=TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.