Server logic for data input module handling file uploads, parsing of pedigree and genotype data files, and quality control validation.
Value
A list with reactive components:
cleanedStudbook- The QC-cleaned studbook datagenotypeData- Genotype data if providedqcSummary- Summary of QC results (error/warning counts)minSireAge- The minimum sire age floor (numeric, orNULLto use the species+sex breeding-age table default)minDamAge- The minimum dam age floor (numeric, orNULLto use the species+sex breeding-age table default)isReady- Logical indicating if data is ready for next stepdebugMode- Logical reflecting the Input tab's "Debug on" checkboxchangedCols- Renamed/changed-column diagnostics from QCerrorLst- The QC error list, used for dynamic tab managementpedigreeFileName- The uploaded file's name, used for dynamic tab management
Note
(Developer note) This module is the reference implementation of the
package's internal Shiny module contract – see
docs/architecture/module-contract.md in the package source (a
developer-only file; it does not ship with the installed package).
See also
modInputUI for the user interface.
modPedigreeServer for using the cleaned data.
Other Shiny modules:
modBreedingGroupsServer(),
modBreedingGroupsUI(),
modGeneticDiversityServer(),
modGeneticDiversityUI(),
modGeneticValueServer(),
modGeneticValueUI(),
modGvAndBgDescServer(),
modGvAndBgDescUI(),
modInputUI(),
modORIPReportingServer(),
modORIPReportingUI(),
modPedigreeServer(),
modPedigreeUI(),
modPotentialParentsServer(),
modPotentialParentsUI(),
modPyramidServer(),
modPyramidUI(),
modSummaryStatsServer(),
modSummaryStatsUI()
