LD {SNPassoc}R Documentation

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

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

Arguments

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').}

Value

None

Author(s)

functions adapted from LD, LDtable and LDplot in package genetics by Gregory Warnes et al. (warnes@bst.rochester.edu)

References

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

See Also

setupSNP snp


[Package SNPassoc version 1.5-3 Index]