
Potential Parents Module - Server Function
Source:R/modPotentialParents.R
modPotentialParentsServer.RdServer logic for the Potential Parents module. On button press, it calls
getPotentialParents against the current pedigree, flattens the
result into a sortable table, and exposes it for CSV download. The surface
degrades gracefully when no pedigree is loaded, when the pedigree lacks the
fromCenter colony-origin field, or when no in-colony animal has an
unknown parent.
Value
A list of reactive expressions:
potentialParents- the rawgetPotentialParentsresult (orNULL).tableData- the flattened results data.frame.
See also
modPotentialParentsUI for the user interface.
getPotentialParents for the underlying computation.