LD {SNPassoc} | R Documentation |
Compute pairwise linkage disequilibrium between genetic markers
LD(g1, ...) ## S3 method for class 'snp': LD(g1, g2, ...) ## S3 method for class 'setupSNP': LD(g1, SNPs, ...) LDplot(x, digits = 3, marker, distance, which = c("D", "D'", "r", "X^2", "P-value", "n", " "), ...) LDtable(x, colorcut = c(0, 0.01, 0.025, 0.05, 0.1, 1), colors = heat.colors(length(colorcut)), textcol = "black", digits = 3, show.all = FALSE, which = c("D", "D'", "r", "X^2", "P-value", "n"), colorize = "P-value", cex, ...)
g1 |
|
g2 |
|
SNPs |
|
x |
|
digits |
|
which |
|
colorcut |
|
colors |
|
textcol |
|
marker |
|
distance |
|
show.all |
|
colorize |
|
cex |
|
... |
{Optional arguments ('plot.LD.data.frame' passes these to 'LDtable' and 'LDplot').}
None
functions adapted from LD, LDtable and LDplot in package genetics by Gregory Warnes et al. (warnes@bst.rochester.edu)
genetics R package by Gregory Warnes et al. (warnes@bst.rochester.edu)