statgenIBD is an R package for calculating IBD probabilities for biparental, three and four-way crosses. Calculations are based on Hidden Markov Models (HMM) and inheritance vectors.
install.packages("statgenIBD")
remotes::install_github("Biometris/statgenIBD", ref = "develop", dependencies = TRUE)