LDlinkR - An R Package for Calculating Linkage Disequilibrium

Repo for the R package LDlinkR



This package provides programmatic access to the LDlink API using the R console. It facilitates researchers who are interested in performing batch queries. LDlink is a suite of web-based applications designed to easily and efficiently interrogate linkage disequilibrium in human population groups. All population genotype data originates from Phase 3 (Version 5) of the 1000 Genomes Project and variant RS numbers are indexed based on dbSNP 151.


  1. Please register for an access token which is required to use LDlinkR at https://ldlink.nci.nih.gov/?tab=apiaccess

  2. install.packages(“devtools”)

  3. devtools::install_github(“CBIIT/LDlinkR”)


Timothy A. Myers, Stephen J. Chanock and Mitchell J. Machiela