
Genetic Value Analysis Module - Server Function
Source:R/modGeneticValue.R
modGeneticValueServer.RdGenetic Value Analysis Module - Server Function
Usage
modGeneticValueServer(
id,
pedigree,
speciesOverrides = reactive(NULL),
twinRelations = reactive(NULL)
)Arguments
- id
character vector of length 1. Module namespace identifier.
- pedigree
reactive returning pedigree data frame.
- speciesOverrides
reactive returning the user-configurable species overrides loaded at boot by
loadSpeciesOverrides(a list withbreedingTable,gestationTable,breedingAgeDefault,gestationDefault), orNULL. Threaded intoreportGV. Defaults toreactive(NULL)so no config file means bundled behavior.- twinRelations
reactive returning a validated twin/zygosity sidecar data.frame (
id1,id2,code), orNULL. Unlike the kinship-override file (uploaded through this module's own UI), this data does not originate inside this module – it is uploaded on the Pedigree Browser's Diagram tab and threaded in byappServer(BL-N Slice 3), so a declared MZ-twin pair's corrected kinship is reflected inreportGV's output regardless of which tab the user visits first. Defaults toreactive(NULL)(no twins declared).
Value
List with geneticValues, topAnimals,
nAnalyzed, kinshipMatrix, kinshipOverrides (the
validated kinship-override data frame loaded through this module's
kinship-override upload, or NULL when none is loaded or it cannot
be read), founderStats,
maleFounders, femaleFounders, and snapshotSource
(issue #167 Slice 4: the most recent run's analyzed pedigree, its
nprcgenekeeprGV object, and its guIter/guThresh,
captured atomically for modSnapshotTrendsServer).
See also
modBreedingGroupsServer for using results.
Other Shiny modules:
modBreedingGroupsServer(),
modBreedingGroupsUI(),
modCrossCenterIdentityServer(),
modCrossCenterIdentityUI(),
modDeidentifiedExportServer(),
modDeidentifiedExportUI(),
modGeneticDiversityServer(),
modGeneticDiversityUI(),
modGeneticValueUI(),
modGvAndBgDescServer(),
modGvAndBgDescUI(),
modInputServer(),
modInputUI(),
modMarkerGeneticsServer(),
modMarkerGeneticsUI(),
modMatePairServer(),
modMatePairUI(),
modORIPReportingServer(),
modORIPReportingUI(),
modPedigreeServer(),
modPedigreeUI(),
modPotentialParentsServer(),
modPotentialParentsUI(),
modPyramidServer(),
modPyramidUI(),
modSnapshotTrendsServer(),
modSnapshotTrendsUI(),
modSummaryStatsServer(),
modSummaryStatsUI()