renum | R Documentation |
Renumbering pedigree to numerical IDs, so that progeny's ID is smaller than parents' IDs.
renum(ped)
ped |
: |
newped : Pedigree data.frame
with renumberred IDs.
xrf : Cross-reference data.frame
with 2 columns for original and renumberred IDs.
ped = data.frame(ID=letters[1:6], SIRE=c(0,0,letters[c(1,3,1,4)]), DAM=c(0,0,letters[c(2,2,2,5)])) renum(ped)$newped renum(ped)$xrf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.