vcf2fineRadStructure
vcf2fineRadStructure.Rd
converts vcfR format data to fineRadStructure infile
in part based on vcfR2genepop function
Usage
vcf2fineRadStructure(
vcf,
ind_pop,
keep_pop,
inc_missing = TRUE,
out_file = "fineRadStructure_infile.txt"
)
Details
This function converts the vcfR object to a fineRadStructure formatted input file The function expects multiallelic loci
Examples
vcf2fineRadStructure(vcf = my_vcf, ind_pop = ind_pop, keep_pop = keepers, inc_missing = TRUE, out_file = "fineRadStructure_infile.txt")
#> Error: object 'my_vcf' not found
vcf2fineRadStructure(my_vcf, ind_pop, keepers, out_file = "fineRadStructure_infile.txt")
#> Error: object 'my_vcf' not found
vcf2fineRadStructure(my_vcf, ind_pop, keepers)
#> Error: object 'my_vcf' not found