FDR: False discovery rate

View source: R/FDR.R

FDRR Documentation

False discovery rate

Description

Function computing the false discovery rate (FDR) as the percentage of detected QTL positions that are not in a neighbouring region (+-distance) from a true QTL position.

Usage

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

FDR

Author(s)

Vincent Garin


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