Description Usage Arguments Value Examples
This parses an arlequin formatted output of fastsimcoal2. Then, it converts the file into a vcf. The fastsimcoal2 simulates alleles, this function assembles those alleles into individual using the given ploidy. Individual genotypes are labeled by individual number and population.
1 |
filePath |
full path and name of the arp file |
outFile |
full path and name of the desired outfile file |
ploidy |
ploidy of the organism. Default is 2 (diploid) |
A data.table with structure similar to a vcf
1 2 3 | filePath <- "D:/OneDrive/uniFiles/coalescentSimu/snputility/simuRADseq_2Pop/simuRADseq/simuRADseq_1_1.arp"
ploidy <- 2
x <- arp2vcf(filePath = filePath, ploidy = ploidy)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.