Description Usage Arguments Value Examples
View source: R/calcRetention.R
Part of Genetic Value Analysis
1 | calcRetention(ped, alleles)
|
ped |
the pedigree information in datatable format. Pedigree (req. fields: id, sire, dam, gen, population). It is assumed that the pedigree has no partial parentage |
alleles |
dataframe of containing an |
A vector of the mean number of founder alleles retained in the gene dropping simulation.
1 2 3 4 5 6 | library(nprcgenekeepr)
data("lacy1989Ped")
data("lacy1989PedAlleles")
ped <- lacy1989Ped
alleles <- lacy1989PedAlleles
retention <- calcRetention(ped, alleles)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.