plotLdSry: Pairwise linkage disequilibrium

plotLdSryR Documentation

Pairwise linkage disequilibrium

Description

Plots a summary of linkage disequilibrium between pairs of SNPs per non-overlapping bin (mean, median and quartiles 1 and 3).

Usage

plotLdSry(
  x,
  y,
  bin.len = 10^3,
  max.dist = 10^5,
  main = "",
  xlab = "Physical distance (bp)",
  ylab = "Summarized LD"
)

Arguments

x

vector of distances between SNPs (see distSnpPairs)

y

vector of LD estimates (see estimLd)

bin.len

length of each bin

max.dist

maximum distance between SNPs to consider

main

main title

xlab

label for the x axis

ylab

label for the y axis

Value

invisible data frame with the summary per bin

Author(s)

Timothee Flutre

See Also

estimLd, distSnpPairs, plotLd


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.