Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
March 27, 2020 19:07
May 28, 2019 11:33
March 23, 2021 18:26
March 23, 2021 18:35
November 26, 2019 14:37
April 20, 2018 14:34
February 5, 2021 16:13


R-package: Calculation of haplotype blocks and libraries

This is the github repository for your R-package HaploBlocker. A paper on HaploBlocker has been published in Genetics (

The newest release 1.6.0 is mostly adding an optional modus to identify non-overlapping blocks. Outputs on defaults should be the same. The newest version of HaploBlocker is using RandomFieldsUtils 0.6.6 (This is more than what is available on CRAN!). 1.5.X is using 0.5.9, 1.4.X and below is using RandomFieldsUtils 0.5.3.

For further questions (

For explanation on the usage we refer to our user manual. The wiki is currently not equivilant ( - its just a couple of figure and not top priority as the user manual (Guidelines_to_HaploBlocker) should do.

Version history

Version 1.6.0

Fixed typo in parallel computing

Improved data import from vcf/ped-file

RandomFieldsUtils update (0.6.6)

Version 1.5.18

Hotfixes in utility/plot functions

Added blocklist_subset to only consider a subset of haplotypes in the haplotype library

Updates for the use in graph-genomes (extended doku will follow)

Version 1.5.2

Added the option to identify non-overlapping haplotype blocks (overlap_remove = TRUE in block_calculation() )

Minor improvments to block_windowdataset()

Hotfixes in plot_block, block_calculation when providing base-pair info

Version 1.4.8

HaploBlocker has been officially been published in Genetics (

A frozen version of the current package has been added in "Genetics_submission_version"

Min_majorblock is now automatically reduced in case the current parametrization would lead to a empty blocklist // haplotype library

Version 1.4.7

Removed typo in plot_block

Version 1.4.5

Support usage of vcf and pedmap files as input for genetic datasets

Creating of a window dataset (block_windowdataset). Block structure more similar to traditional haplotype block methods (set start/end points etc.)

Improvement to documentation (Guidelines_to_HaploBlocker)

Version 1.4.4

Hotfix in block_dataset_construction

Version 1.4.3

New features: selection signature detection (bEHH, iHH)

Improved computing time: (parallel computing, skipping unnecessary steps for large scale datasets)

Minor updates to RandomFieldsUtils: 0.4.0+ now required (available at CRAN)

Version 1.0.0

Initial release


R-package: Calculation of haplotype blocks and libraries



Code of conduct





No releases published


No packages published