LDgenepop: Linkage Disequlibrium

Description Usage Arguments Value Author(s) See Also Examples

View source: R/LDgenepop.R

Description

Calculate linkage disequilibrium p-values using GENEPOP.

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
6
## Not run: 
data(msats.g)
msats.ld <- LDgenepop(msats.g)
head(msats.ld)

## End(Not run)

strataG documentation built on Feb. 28, 2020, 9:07 a.m.