Converts a vcf file into a genlight object
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)
vcffile |
– a vcf file (works only for diploid data) |
verbose |
set to 2 |
A genlight object.
Bernd Gruber (Post to https://groups.google.com/d/forum/dartr)
## Not run: test <- gl.read.vcf("your_data.vcf") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.