Description Usage Arguments Details
Genepop files contain the information to write the baseline ".bse" and mixture ".mix" files for SPAM. Use the following considerations when using this function.
1 | Genepop2SPAM.GCL(baselineFile, mixtureFiles, baselineOutPath, mixtureOutPath)
|
baselineFile |
The fullpath to the baseline Genepop file for the baseline in SPAM (.mix). |
mixtureFiles |
A vector with the fullpath of the Genepop files to be created into seperate SPAM mixture (.mix) files. |
baselineOutPath |
The full path to write the baseline file to |
mixtureOutPath |
The full path to write all of the mixture files to. |
A. This function is set up to work only with diploid alleles for SNPs and microsatellites or mtDNA haplotypes with nine or less combined SNPs.
B. All the files for the baseline and mixtures should be read in at the same time to create SPAM files. This is because for each locus it will need to know how many different alleles are present across all files to properly id each one into the correct position.
C. Each population in the Genepop file should be separated by POP, Pop, or pop. Any other population separator will not be recognized.
D. The locus names listed at the top of each Genepop file should be in the same order and have the same number of loci. ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.