Likelihood ratio distribution: a function for plotting expected log10(LR) distributions under relatedness and unrelatedness.
LRdist(datasim)
A plot showing likelihood ratio distributions under relatedness and unrelatedness hypothesis.
Input dataframe containing expected LRs for related and unrelated POIs. It should be the output from makeLRsims function.
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)
LRdist(datasim)
Run the code above in your browser using DataLab