To cite LDheatmap in publications use:

Shin J, Blay S, McNeney B, Graham J (2006). “LDheatmap: An R Function for Graphical Display of Pairwise Linkage Disequilibria Between Single Nucleotide Polymorphisms.” J Stat Soft, 16, Code Snippet 3. https://www.jstatsoft.org/article/view/v016c03.

Corresponding BibTeX entry:

  @Article{,
    title = {LDheatmap: An R Function for Graphical Display of Pairwise
      Linkage Disequilibria Between Single Nucleotide Polymorphisms.},
    author = {J.-H. Shin and S. Blay and B. McNeney and J. Graham},
    journal = {J Stat Soft},
    volume = {16},
    year = {2006},
    pages = {{Code Snippet 3}},
    url = {https://www.jstatsoft.org/article/view/v016c03},
  }