vcfR2genind(x, sep = "[|/]")vcfR2loci(x)
vcfR2genlight(x)
The packages adegenet and poppr use the genind object. The function vcfR2genind uses extract.gt to create a matrix of genotypes and uses the adegenet function df2genind to create a genind object. The package poppr additionally uses objects of class genclone which can be created from genind objects using poppr::as.genclone. A genind object can be converted to a genclone object with the function poppr::as.genclone.
extract.gt
,
df2genind
,
genind
,
vcfR2DNAbin
.