vcfR2migrate | R Documentation |
The function converts vcfR format data to text format that can be used as infile for MigrateN.
vcfR2migrate(vcf, pop, in_pop, out_file)
vcf |
a vcfR object. |
pop |
factor of population. |
in_pop |
population of interest to report in output file. |
outfile |
name of output file. |
This function converts the vcfR object to a text file which can be used downstream for MigrateN. The function will remove loci with missing data, indels, and multiallelic loci. Thus, only SNPs data are analysed where length of each locus is 1.
a text file that can be used as an input for MigrateN software (SNP format).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.