Description Usage Arguments Value Examples
User provides a pedigree object (ped
), the number of characters to be
used for alias IDs (size
), and the maximum number of days that the
birthdate can be shifted (maxDelta
).
1 2 3 4 5 6 7 | obfuscatePed(
ped,
size = 6,
maxDelta = 30,
existingIds = character(0),
map = FALSE
)
|
ped |
pedigree object |
size |
integer value indicating number of characters in alias IDs |
maxDelta |
integer value indicating maximum number of days that the birthdate can be shifted |
existingIds |
character vector of existing aliases to avoid duplication. |
map |
logical if |
An obfuscated pedigree
1 2 3 4 5 | library(nprcgenekeepr)
ped <- qcStudbook(nprcgenekeepr::pedGood)
obfuscatedPed <- obfuscatePed(ped)
ped
obfuscatedPed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.