LD.plot: Plot LD vs distance

View source: R/LD.plot.R

LD.plotR Documentation

Plot LD vs distance

Description

Plot LD vs distance

Usage

LD.plot(data, max.pair = 10000, dof = 8, max.loci = NULL, position = "bp")

Arguments

data

variable inheriting from class GWASpoly

max.pair

maximum number of r2 pairs for the spline

dof

degrees of freedom for the spline

max.loci

maximum number of markers to use per chromosome

position

"bp" or "cM"

Details

A monotone decreasing, convex spline is fit using R package scam.

Value

ggplot2 object


jendelman/GWASpoly documentation built on Oct. 16, 2024, 5:59 a.m.