Good morning,
I'm working on realigning our data to a new reference genome, and so far have a small subsample in a final .vcf.gz format only containing biallelic snps.
If I try to use the gl.read.vcf I get the following error:
Error in as.vector(data) :
no method for coercing this S4 class to a vector
In addition: Warning message:
In (function (..., deparse.level = 1) :
number of columns of result is not a multiple of vector length (arg 1)I can somewhat load it in with vcfR2genlight, but get the same error after checking with gl.compliance.check() :
Error in as.vector(data) :
no method for coercing this S4 class to a vector
Any tips/ideas how I can convert this file to a genlight object for using in the dartRverse?