Package: optiSel 2.1.0

optiSel: Optimum Contribution Selection and Population Genetics

A framework for the optimization of breeding programs via optimum contribution selection and mate allocation. An easy to use set of function for computation of optimum contributions of selection candidates, and of the population genetic parameters to be optimized. These parameters can be estimated using pedigree or genotype information, and include kinships, kinships at native haplotype segments, and breed composition of crossbred individuals. They are suitable for managing genetic diversity, removing introgressed genetic material, and accelerating genetic gain. Additionally, functions are provided for computing genetic contributions from ancestors, inbreeding coefficients, the native effective size, the native genome equivalent, pedigree completeness, and for preparing and plotting pedigrees. The methods are described in:\n Wellmann, R., and Pfeiffer, I. (2009) <doi:10.1017/S0016672309000202>.\n Wellmann, R., and Bennewitz, J. (2011) <doi:10.2527/jas.2010-3709>.\n Wellmann, R., Hartwig, S., Bennewitz, J. (2012) <doi:10.1186/1297-9686-44-34>.\n de Cara, M. A. R., Villanueva, B., Toro, M. A., Fernandez, J. (2013) <doi:10.1111/mec.12560>.\n Wellmann, R., Bennewitz, J., Meuwissen, T.H.E. (2014) <doi:10.1017/S0016672314000196>.\n Wellmann, R. (2019) <doi:10.1186/s12859-018-2450-5>.

Authors:Robin Wellmann [aut, cre]

optiSel_2.1.0.tar.gz
optiSel_2.1.0.zip(r-4.7)optiSel_2.1.0.zip(r-4.6)optiSel_2.1.0.zip(r-4.5)
optiSel_2.1.0.tgz(r-4.6-x86_64)optiSel_2.1.0.tgz(r-4.6-arm64)optiSel_2.1.0.tgz(r-4.5-x86_64)optiSel_2.1.0.tgz(r-4.5-arm64)
optiSel_2.1.0.tar.gz(r-4.7-arm64)optiSel_2.1.0.tar.gz(r-4.7-x86_64)optiSel_2.1.0.tar.gz(r-4.6-arm64)optiSel_2.1.0.tar.gz(r-4.6-x86_64)
optiSel_2.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
optiSel/json (API)

# Install 'optiSel' in R:
install.packages('optiSel', repos = c('https://rowellmann.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • Cattle - Phenotypes of Genotyped Cattle
  • ExamplePed - Pedigree of Hinterwald Cattle
  • map - Marker Map for Cattle
  • PedigWithErrors - Pedigree of Hinterwald cattle
  • Phen - Simulated Phenotypes of Hinterwald Cattle

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

4.66 score 3 stars 73 scripts 695 downloads 7 mentions 31 exports 65 dependencies

Last updated from:4317bc1a44. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK297
linux-devel-x86_64OK298
source / vignettesOK452
linux-release-arm64OK305
linux-release-x86_64OK288
macos-release-arm64OK204
macos-release-x86_64OK373
macos-oldrel-arm64OK319
macos-oldrel-x86_64OK365
windows-develOK270
windows-releaseOK243
windows-oldrelOK222
wasm-releaseOK270

Exports:agecontcandescompletenessconttacfreqlistgeneconthaplofreqmakeAmatingsnoffspringopticompopticontpedBreedComppedIBDpedIBDatNpedIBDorMpedInbreedingpedplotprePedread.indivsampleIndivsegBreedCompsegIBDsegIBDandNsegIBDatNsegInbreedingsegNsim2dissubPedsummary.candessummary.Pedig

Dependencies:abindalabamabase64encbslibcachemcccpclicodetoolsdata.tabledigestdoParallelECOSolveRevaluatefastmapfitdistrplusfontawesomeforeachfsglueHaploSimhighrhtmltoolshtmlwidgetsiteratorsjquerylibjsonlitekinship2knitrlatticelifecyclemagicmagrittrMASSMatrixmemoisemimeminpack.lmnadivnloptrnumDerivoptiSolvepedigreeplyrpsplinepurrrquadprogR6rappdirsRcppRcppArmadilloreshapereshape2rglrlangrmarkdownsassscatterplot3dshapesstringistringrsurvivaltinytexvctrsxfunyaml

Pedigree-based Evaluations
Data Preparation | Quality Control | Individual Specific Parameters | Inbreeding Coefficients | Kinship | Breed Composition | Kinship at Native Alleles | Population Specific Parameters | Genetic Diversity | Kinship and Diversity at Native Alleles | Native Effective Size | Effective Size | Change of Native Genome Equivalent and Ne | Change of Breed Composition | References

Last update: 2024-06-13
Started: 2017-03-23

Optimum Contribution Selection
Example Data Set | Introductory Example: Traditional OCS | Defining the Objective of a Breeding Program | Marker-based OCS | Maximize Genetic Gain | Minimize Inbreeding | Recover the Native Genetic Background | Increase Diversity Between Breeds | Pedigree-based OCS | Maximize Genetic Gain | Minimize Inbreeding | Recover the Native Genetic Background | References

Last update: 2020-03-12
Started: 2017-03-23

Marker-based Evaluations
Data Preparation | Genotype File Format | Marker Map Format | Example Data Set | Individual Specific Parameters | Inbreeding Coefficients | Kinship | Genetic Distances | Haplotype Frequencies | Breed Composition | Kinship at Native Segments | Population Specific Parameters | Genetic Diversity | Kinship and Diversity at Native Segments | Multi-Breed Specific Parameters | Kinships Within and Between Breeds | Genetic Distances Between Breeds | Prioritizing Breeds for Conservation | References

Last update: 2017-12-15
Started: 2017-03-23

Readme and manuals

Help Manual

Help pageTopics
Optimum Contribution Selection and Population GeneticsoptiSel-package optiSel
Contributions of age cohorts to the populationagecont
Candidate Descriptioncandes
Phenotypes of Genotyped CattleCattle
Phased Cattle Genotypes from Chromosome 1Chr1.phased
Phased Cattle Genotypes from Chromosome 2Chr2.phased
Calculates Pedigree Completenesscompleteness
Calculates *Cont*ributions *T*o *A*ge *C*ohortsconttac
Pedigree of Hinterwald CattleExamplePed
Combines Objects Computed with Function haplofreq() into a Listfreqlist
Calculates Genetic Contributions using Pedigrees.genecont
Evaluates the Occurrence of Haplotype Segments in Particular Breedshaplofreq
Calculates the Pedigree-based Additive Relationship MatrixmakeA
Marker Map for Cattlemap
Mate Allocationmatings
Calculates Optimum Numbers of Offspringnoffspring
Calculates the Optimum Breed Compositionopticomp
Optimum Contributions of Selection Candidatesopticont
Calculates the Pedigree Based Breed Composition of IndividualspedBreedComp
Calculates the Pedigree-based Kinship MatrixpedIBD
Calculates the Pedigree Based Kinship at Native AllelespedIBDatN
Calculates Kinships taking Allele Origin into AccountpedIBDorM
Pedigree of Hinterwald cattlePedigWithErrors
Calculates Pedigree Based InbreedingpedInbreeding
Plots a Pedigreepedplot
Simulated Phenotypes of Hinterwald CattlePhen
Plots Frequencies of Haplotype Segments in Specified Breedsplot.HaploFreq
*Pre*pares a *Ped*igreeprePed
Reads Individual IDs from a Genotype Fileread.indiv
Sample Individuals from PedigreesampleIndiv
Calculates the Segment-Based Breed Composition of IndividualssegBreedComp
Calculates the Segment Based Kinship MatrixsegIBD
Calculates Probabilities that Alleles belong to a Shared Native SegmentsegIBDandN
Segment-Based Kinship at Native Alleles.segIBDatN
Calculates Segment Based InbreedingsegInbreeding
Calculates Probabilities of Alleles to belong to Native SegmentssegN
Converts a Similarity Matrix into a Dissimilarity Matrixsim2dis
Creates a Subset of a Large PedigreesubPed
Population Genetic Parameters at Different Timessummary.candes
Calculates Summary Statistics for Pedigrees.summary.Pedig