vcf_convert {pcadapt}R Documentation

Convert vcfR genotype matrices

Description

vcf_convert converts outputs of extract.gt to the format pcadapt.

Usage

vcf_convert(string_geno, output, allele_sep)

Arguments

string_geno

a genotype matrix extracted from a VCF file with 'vcfR'.

output

a character string indicating the name of the output file.

allele_sep

a vector of characters indicating what delimiters are used to separate alleles.


[Package pcadapt version 4.4.0 Index]