An open API service indexing awesome lists of open source software.

https://github.com/biometris/statgenibd

See https://biometris.github.io/statgenIBD for a full description
https://github.com/biometris/statgenibd

cran genetics hmm ibd r-package

Last synced: 4 months ago
JSON representation

See https://biometris.github.io/statgenIBD for a full description

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# statgenIBD

[![](https://www.r-pkg.org/badges/version/statgenIBD)](https://www.r-pkg.org/pkg/statgenIBD)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/statgenIBD)](https://www.r-pkg.org/pkg/statgenIBD)
[![R-CMD-check](https://github.com/Biometris/statgenIBD/workflows/R-CMD-check/badge.svg)](https://github.com/Biometris/statgenIBD/actions?workflow=R-CMD-check)
[![codecov](https://codecov.io/gh/Biometris/statgenIBD/branch/main/graph/badge.svg)](https://app.codecov.io/gh/Biometris/statgenIBD)
[![DOI](https://zenodo.org/badge/393325500.svg)](https://doi.org/10.5281/zenodo.14810487)

**statgenIBD** is an R package for calculating Identity By Descent (IBD) probabilities for biparental, three and four-way crosses. Calculations are based on Hidden Markov Models (HMM) and inheritance vectors. The HMM calculations are implemented in `Rcpp/C++`.

For more complicated pedigrees [RABBIT](https://github.com/Biometris/RABBIT) can be used to calculate the IBDs.

## Installation

* Install from CRAN:

```{r, eval = FALSE}
install.packages("statgenIBD")
```

* Install latest development version from GitHub (requires [remotes](https://github.com/r-lib/remotes) package):

```{r, eval = FALSE}
remotes::install_github("Biometris/statgenIBD", ref = "develop", dependencies = TRUE)