View source: R/getIdsWithOneParent.R
getIdsWithOneParent | R Documentation |
getIdsWithOneParent extracts IDs of animals pedigree without either a sire or a dam
getIdsWithOneParent(uPed)
uPed |
a trimmed pedigree dataframe with uninformative founders removed. |
Character vector of all single parents
examplePedigree <- nprcgenekeepr::examplePedigree
breederPed <- qcStudbook(examplePedigree, minParentAge = 2,
reportChanges = FALSE,
reportErrors = FALSE)
probands <- breederPed$id[!(is.na(breederPed$sire) &
is.na(breederPed$dam)) &
is.na(breederPed$exit)]
ped <- getProbandPedigree(probands, breederPed)
nrow(ped)
p <- removeUninformativeFounders(ped)
nrow(p)
p <- addBackSecondParents(p, ped)
nrow(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.