Trates | R Documentation |
Threshold rates: a function for computing error rates and Matthews correlation coefficient of a specific LR threshold.
Trates(datasim, threshold)
datasim |
Input dataframe containing expected LRs for related and unrelated POIs. It should be the output from makeLRsims function. |
threshold |
Likelihood ratio threshold selected for error rates calculation. |
Values of false positive and false negative rates and MCC for a specific LR threshold.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.