makePOIgen: Make POIs gen: a function for obtaining a database with...

View source: R/makePOIgen.R

makePOIgenR 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)

mispitools documentation built on Sept. 8, 2023, 6:13 p.m.