powered by
This function needs package vcfR, please install it. The converted genlight object does not have individual metrics. You need to add them 'manually' to the other$ind.metrics slot.
gl.read.vcf(vcffile, verbose = 2)
-- a vcf file (works only for diploid data)
set to 2
A genlight object.
# NOT RUN { test <- gl.read.vcf("your_data.vcf") # }
Run the code above in your browser using DataLab