Learn R Programming

SNPassoc (version 1.5-2)

LD: max-statistic for a 2x3 table

Description

Compute pairwise linkage disequilibrium between genetic markers

Usage

LD(g1, ...)

## S3 method for class 'snp': LD(g1, g2, \dots)

## S3 method for class 'setupSNP': LD(g1, SNPs, \dots)

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, ...)

Arguments

g1
g2
SNPs
x
digits
which
colorcut
colors
textcol
marker
distance
show.all
colorize
cex
...

Value

  • None

References

genetics R package by Gregory Warnes et al. (warnes@bst.rochester.edu)

See Also

setupSNP snp