vcf2nexus
vcf2nexus.Rd
converts vcfR format data to Nexus format infile
Details
This function converts the vcfR object to a Nexus formatted input file The function will remove indels, and multiallelic loci, and optionally loci with missing data
Examples
vcf2nexus(vcf = my_vcf, ind_pop = ind_pop, keep_pop = keepers, inc_missing = TRUE, out_file = "Nexus_infile.nex")
#> Error: object 'my_vcf' not found
vcf2nexus(my_vcf, ind_pop, keepers, out_file = "Nexus_infile.nex")
#> Error: object 'my_vcf' not found
vcf2nexus(my_vcf, ind_pop, keepers)
#> Error: object 'my_vcf' not found