Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

minimalPattern

Minimal IBD pattern


Description

Compute the minimal form of given multiperson IBD pattern.

Usage

minimalPattern(x)

Arguments

x

An integer vector of even length.

Value

An integer vector of the same length as x.

Examples

v = c(1,2,2,3)
stopifnot(identical(minimalPattern(v), c(1,2,1,3)))

ribd

Pedigree-based Relatedness Coefficients

v1.2.0
GPL-3
Authors
Magnus Dehli Vigeland [aut, cre] (<https://orcid.org/0000-0002-9134-4962>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.