Description Usage Arguments Details Value See Also
ped_prep()
prepares the given pedigree by recoding missing ids to NA
,
checking for duplicate records and some more checks. This is usually the
first step before any further calculations are performed.
1 |
pedigree |
an object coercible to a |
na_id_rm |
a logical indicating whether to remove individuals coded as
missing or unkown. When set to |
The first three columns are assumed to be the id of the individual, sire and dam, respectively in that order. New columns .id, .sire and .dam are created which are used by other functions in this package.
a data.table
containing the original ids and new id columns used
in further calculation steps
ped_add()
is a function that relies on preprocessing before adding
the missing parents, for example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.