Learn R Programming

pcadapt (version 3.0.4)

convert.line: Convert genotype information obtained with vcfR

Description

convert.line converts outputs of extract.gt to the format pcadapt.

Usage

convert.line(hap.block, allele.sep = "/")

Arguments

hap.block
a genotype matrix obtained with `vcfR`.
allele.sep
a character indicating which type of delimiter is used to separate the alleles.

Examples

Run this code
## see also ?pcadapt for examples

Run the code above in your browser using DataLab