powered by
Part of Genetic Value Analysis
calcRetention(ped, alleles)
the pedigree information in datatable format. Pedigree (req. fields: id, sire, dam, gen, population).
It is assumed that the pedigree has no partial parentage
dataframe of containing an AlleleTable. This is a table of allele information produced by geneDrop().
AlleleTable
geneDrop()
A vector of the mean number of founder alleles retained in the gene dropping simulation.
# NOT RUN { library(nprcgenekeepr) data("lacy1989Ped") data("lacy1989PedAlleles") ped <- lacy1989Ped alleles <- lacy1989PedAlleles retention <- calcRetention(ped, alleles) # } # NOT RUN { # }
Run the code above in your browser using DataLab