Skip to contents

Rebuilds topological order, mappings, diagnostics and checksums. Input rows may be arbitrarily ordered; existing identifiers and labels are preserved.

Usage

gsim_pedigree_from_table(table)

Arguments

table

Data frame with animal, sire, dam; optional sex (M, F, U), generation, cohort, and logical phenotyped. Missing parents use NA, never a sentinel ID such as "0". Animal ID "0" is reserved for FAM missing-parent encoding. One animal cannot occupy both sire and dam roles.

Value

A gsim_pedigree object. Partial parentage is allowed in the table; biological meiosis still requires both parents for every offspring.