View source: R/alleleotype_genepop.R
alleleotype_genepop | R Documentation |
Simulate individuals using pooled DNA major allele frequencies. Return as GENEPOP formatted data.
alleleotype_genepop(input, numsim = 100, path)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.