plotLdSry | R Documentation |
Plots a summary of linkage disequilibrium between pairs of SNPs per non-overlapping bin (mean, median and quartiles 1 and 3).
plotLdSry(
x,
y,
bin.len = 10^3,
max.dist = 10^5,
main = "",
xlab = "Physical distance (bp)",
ylab = "Summarized LD"
)
x |
vector of distances between SNPs (see |
y |
vector of LD estimates (see |
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 |
invisible data frame with the summary per bin
Timothee Flutre
estimLd
, distSnpPairs
, plotLd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.