View source: R/genepop_clean.R
genepop_clean | R Documentation |
Use PGDspider to impliment the proper delimiters in your genepop file.
genepop_clean(genepop, where.pgdspider, allocate.pgd.ram = 1,
sample_delim = TRUE, population_suffix = FALSE,
pop_sample_delim = FALSE, path)
genepop |
A file path to the genepop format file you wish to create your panel from |
where.pgdspider |
A file path to the PGDspider installation folder. |
allocate.pgd.ram |
An integer value in GB to specify the maximum amount of RAM to allocate to PGDspider. The default is 1 GB, which should be sufficient for most analyses. |
sample_delim |
A logical variable (default = TRUE) that defines whether the function needs to fix the sampleID loci delimiter using PGDspider. Here all files require (space,space scpace) to delimit the sampleIDs from the loci |
population_suffix |
A logical variable (default = FALSE) that defines whether the function needs to add a population specific suffix to each population. This is required for some genepopedit functionality. Between each "pop" label a Pop(n)_ suffix will be added to each sampleID of genepop. |
pop_sample_delim |
A logical variable (default = FALSE) that defines whether the function needs to add separation ("_") between population name and sample number. Note if population suffix = TRUE this option is redundant and not executed. |
path |
the filepath and filename of output.#' @rdname genepop_toploci |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.