TPR: True positive rate

View source: R/TPR.R

TPRR Documentation

True positive rate

Description

Function computing the true positive rate (TPR) as the percentage of true QTL positions that have been detected at a certain distance

Usage

TPR(QTL.true, QTL.detected, distance = 5)

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 = 5.

Value

TPR

Author(s)

Vincent Garin


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