alleleotype_genepop: Alleleotype -> GENEPOP format

View source: R/alleleotype_genepop.R

alleleotype_genepopR Documentation

Alleleotype -> GENEPOP format

Description

Simulate individuals using pooled DNA major allele frequencies. Return as GENEPOP formatted data.

Usage

alleleotype_genepop(input, numsim = 100, path)

Arguments

input

path to input file (csv) containing major allele frequencies. First column is the SNP names and the remaining columsn are the population based allele frequencies from the pooled DNA sample. input can also be a data.frame from the workspace. The column headers of the dataframe must begin with 'Pop' followed by the specified loci names.

numsim

number of simulated individuals per population to be returned.

path

the filepath and filename of output.


rystanley/genepopedit documentation built on June 27, 2023, 11:33 p.m.