simu.write.ancstrl
creates haplotype matrices and genotype matrices
from Beagle outputs.
1 2 | simu.write.ancstrl(obj.vcfR, pop, ancestral.1, ancestral.2, recombinationRate,
keep, output.name = "output")
|
obj.vcfR |
an object of class vcfR obtained with a Beagle output. |
pop |
a string vector specifying the population labels for each individual present in the VCF file. |
ancestral.1 |
a character string or an integer specifying the first ancestral population. |
ancestral.2 |
a character string or an integer specifying the second ancestral population. |
recombinationRate |
a numerical value expressed in centiMorgans per Megabase specifying the mean recombination rate of the species. |
keep |
a list specifying the markers to keep. If missing, all markers will be kept. |
output.name |
a character string specifying the name of the output map file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.