makePOIgen | R Documentation |
Make POIs gen: a function for obtaining a database with genetic information from simulated POIs or UHRs.
makePOIgen(numsims = 100, reference, seed = 123)
numsims |
Number of simulations performed (numer of POIs or UHRs). |
reference |
Indicate the reference STRs/SNPs frequency database used for simulations. |
seed |
Select a seed for simulations. If it is defined, results will be reproducible. Suggested, seed = 123 |
An object of class data.frame with genetic information from POIs (randomly sampled from the frequency database).
library(forrel)
freqdata <- getfreqs(Argentina)
makePOIgen(numsims = 100, reference = freqdata, seed = 123)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.