powered by
Threshold rates: a function for computing error rates and Matthews correlation coefficient of a specific LR threshold.
Trates(datasim, threshold)
Values of false positive and false negative rates and MCC for a specific LR threshold.
Input dataframe containing expected LRs for related and unrelated POIs. It should be the output from makeLRsims function.
Likelihood ratio threshold selected for error rates calculation.
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) Trates(datasim, 10)
Run the code above in your browser using DataLab