plot.ld.decay: Plots LD decay pattern for a given data

View source: R/plot.LD.decay.r

plot.ld.decayR Documentation

Plots LD decay pattern for a given data

Description

Function plots the LD decay with distance between markers for a given data. LD is measured using r2 statistics.

Usage

plot.ld.decay(data, N = 200, dmin = NA, dmax = NA, ...)

Arguments

data

a gwaa.data-class object

N

number of bins used to partition the distance between markers

dmin

minimal distance to consider

...

the remaining parameters that pass to the plot function

maximal

distance to consider

Author(s)

Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>

Examples

## Not run: 
dat <- dat[,dat@gtdata@chromosome == 3]
plot.LD.decay(data=dat, N=200, dmin=0, dmax=1e6, main="Chr3")

## End(Not run)

cgmisc-team/cgmisc documentation built on Jan. 3, 2024, 9:52 p.m.