strataG (version 2.4.905)

LDgenepop: Linkage Disequlibrium

Description

Calculate linkage disequilibrium p-values using GENEPOP.

Usage

LDgenepop(
  g,
  dememorization = 10000,
  batches = 100,
  iterations = 5000,
  delete.files = TRUE,
  label = NULL
)

Arguments

g

a '>gtypes object.

dememorization, batches, iterations

parameters for GENEPOP MCMC LD procedure as defined in test_LD.

delete.files

logical. Delete GENEPOP input and output files when done?

label

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

Value

data.frame of disequilibrium estimates between pairs of loci

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 DataCamp Workspace