fitPhyDistVsLd: Pairwise linkage disequilibrium

View source: R/quantgen.R

fitPhyDistVsLdR Documentation

Pairwise linkage disequilibrium

Description

Fit a model of physical distance versus LD (or reciprocally).

Usage

fitPhyDistVsLd(x, y, method = "loess", span = 0.2, newdata)

Arguments

x

numeric vector of predictors (LD values or physical distances)

y

numeric vector of responses (LD values or physical distances)

method

loess/lm/loglm/asyreg/biexp

span

the parameter alpha which controls the degree of loess smoothing

newdata

an optional data frame in which to look for variables with which to predict

Value

list with data, model fit and prediction(s)

Author(s)

Timothee Flutre

See Also

summarizeLd


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.