Learn R Programming

strataG (version 2.0.2)

LDgenepop: Linkage Disequlibrium

Description

Calculate linkage disequilibrium p-values using GENEPOP.

Usage

LDgenepop(g, show.output = FALSE, delete.files = TRUE,
  label = "linkage.genepop", ...)

Arguments

g

a '>gtypes object.

show.output

logical. Show GENEPOP output on console?

delete.files

logical. Delete GENEPOP input and output files when done?

label

character string to use to label GENEPOP input and output files.

...

other arguments to be passed to genepop.

Value

data.frame of disequilibrium estimates between pairs of individuals

See Also

genepop

Examples

Run this code
# NOT RUN {
data(msats.g)
msats.ld <- LDgenepop(msats.g)
head(msats.ld)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab