deplot: Decision making plot: a function for plotting false positive...

View source: R/deplot.R

deplotR Documentation

Decision making plot: a function for plotting false positive and false negative rates for each LR threshold.

Description

Decision making plot: a function for plotting false positive and false negative rates for each LR threshold.

Usage

deplot(datasim, LRmax = 1000)

Arguments

datasim

Input dataframe containing expected LRs for related and unrelated POIs. It should be the output from makeLRsims function.

LRmax

Maximum LR value used as a threshold. 1000 setted by default.

Value

A plot showing false positive and false negative rates for each likelihood ratio threshold.

Examples

library(forrel)
x = linearPed(2)
x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:5])
x = profileSim(x, N = 1, ids = 2)
datasim = simLRgen(x, missing = 5, 10, 123)
deplot(datasim)

mispitools documentation built on Sept. 11, 2024, 8:29 p.m.