This function will group some other checking functions, that should be run everytime when using functions in this package, to avoid unexpected errors.
check_basic(
ped,
id_name = "id",
dam_name = "dam",
sire_name = "sire",
when_rename = FALSE,
when_sort = FALSE
)
No return value. Will print an error message if checking fail.
A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.
Column name for individual id.
Column name for dam.
Column name for sire.
True when called from ped_rename function. It softs checks on individual ID column name and types
True when called from ped_sort function. It softs checks on pedigree sorting