makePOIgen {mispitools}R Documentation

Make POIs gen: a function for obtaining a database with genetic information from simulated POIs or UHRs.

Description

Make POIs gen: a function for obtaining a database with genetic information from simulated POIs or UHRs.

Usage

makePOIgen(numsims = 100, reference, seed = 123)

Arguments

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

Value

An object of class data.frame with genetic information from POIs (randomly sampled from the frequency database).

Examples

library(forrel) 
freqdata <- getfreqs(Argentina)
makePOIgen(numsims = 100, reference = freqdata, seed = 123)

[Package mispitools version 1.1.0 Index]