RDQ: Resolution distance to QTL

View source: R/RDQ.R

RDQR Documentation

Resolution distance to QTL

Description

Function measuring the distance between a "true" QTL position and a detected QTL. The function looks if there is a signal at +- distance of the QTL. If a signal was detected in this region, it measures the distance between the QTL position and the detected position.

Usage

RDQ(QTL.true, QTL.detected, distance = 10)

Arguments

QTL.true

data.frame of true QTL positions with marker id, chromosome and position in cM.

QTL.detected

data.frame of detected QTL positions with marker id, chromosome and position in cM.

distance

maximal distance between the true QTL position and the detected signal. Default = 10.

Value

Vector with distance to the position. NA if nothing was detected in the surrounding of the QTL.

Author(s)

Vincent Garin


vincentgarin/mppSim documentation built on Oct. 11, 2024, 3:18 p.m.