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