Learn R Programming

qgg (version 1.1.6)

adjustMapLD: Adjust Linkage Disequilibrium (LD) Using Map Information

Description

Adjusts the linkage disequilibrium (LD) values based on map information, effective population size, and sample size used for map construction.

Usage

adjustMapLD(LD = NULL, map = NULL, neff = 11600, nmap = 186, threshold = 0.001)

Value

A matrix where each value is the adjusted LD based on the input map, effective population size, and map construction sample size.

Arguments

LD

A matrix representing the linkage disequilibrium (LD) structure.

map

A numeric vector containing the map information.

neff

An integer representing the effective population size. Default is 11600.

nmap

An integer representing the sample size used for map construction. Default is 186.

threshold

A numeric value specifying the threshold for setting LD to zero. Currently unused in the function. Default is 0.001.