ped_renum: Renumber pedigree

Description Usage Arguments Details Value

Description

ped_renum() takes an R object and assumes the first three elements corresponds to the id of the individual, sire and dam, in that order. First, some assumed missing codes and recorded to NA and then all the ids are renumbered by adding three additional columns .id, .sire and .dam.

Usage

1
ped_renum(pedigree, ...)

Arguments

pedigree

an object which includes the id of individual, sire and dam.

Details

It is assumed that all the sire and dam ids are present in the individual column. If not run ped_add() first.

Value

a data.table containing the original ids and the renumbered ids


tstev/pedr documentation built on May 11, 2019, 4:06 p.m.