TPorFP: TP or FP QTL

View source: R/TPorFP.R

TPorFPR Documentation

TP or FP QTL

Description

Given a list of TRUE QTL and a list of detected QTL, the function return for each QTL if it was a true positive or a false positive.

Usage

TPorFP(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

A logical vector: TRUE for TP QTLs and FALSE for FP QTLs

Author(s)

Vincent Garin


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