LDgenepop: Linkage Disequlibrium

View source: R/LDgenepop.R

LDgenepopR Documentation

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

Author(s)

Eric Archer eric.archer@noaa.gov

See Also

genepop

Examples

## Not run: 
data(msats.g)
msats.ld <- LDgenepop(msats.g)
head(msats.ld)

## End(Not run)


EricArcher/strataG documentation built on Feb. 12, 2023, 4:11 a.m.