vcf2related
vcf2related.Rd
converts vcfR format data to Related infile
in part based on vcfR2genepop function (vcfR package)
Details
This function converts the vcfR object to a Related formatted input file The function will remove indels, and multiallelic loci, and optionally loci with missing data 'A', 'C', 'G', 'T' is 01, 02, 03, 04
Examples
vcf2related(vcf = my_vcf, ind_pop = ind_pop, keep_pop = keepers, inc_missing = TRUE, out_file = "Genepop_infile.gen")
#> Error: object 'my_vcf' not found
vcf2related(my_vcf, ind_pop, keepers, out_file = "Related_infile.txt")
#> Error: object 'my_vcf' not found
vcf2related(my_vcf, ind_pop, keepers)
#> Error: object 'my_vcf' not found