Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gl.read.vcf

Converts a vcf file into a genlight object


Description

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.

Usage

gl.read.vcf(vcffile, verbose = 2)

Arguments

vcffile

– a vcf file (works only for diploid data)

verbose

set to 2

Value

A genlight object.

Author(s)

Examples

## Not run: 
test <- gl.read.vcf("your_data.vcf")

## End(Not run)

dartR

Importing and Analysing SNP and Silicodart Data Generated by Genome-Wide Restriction Fragment Analysis

v1.9.6
GPL-2
Authors
Bernd Gruber [aut, cre], Arthur Georges [aut], Jose L. Mijangos [aut], Peter J. Unmack [ctb], Oliver Berry [ctb], Lindsay V. Clark [ctb], Floriaan Devloo-Delva [ctb]
Initial release
2021-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.