Learn R Programming

dartR (version 1.0)

gl2gds: Convert a genlight object to gds format SNPRelate

Description

Package SNPRelate relies on a bit-level representation of a SNP dataset that competes with {adegenet} genlight objects and associated files. This function saves a genlight object to a gds format file.

Usage

gl2gds(gl, outfile = "gl2gds.gds")

Arguments

gl

-- name of the genlight object containing the SNP data [required]

outfile

-- file name of the output file (including extension).

Examples

Run this code
# NOT RUN {
gl2gds(testset.gl)
# }

Run the code above in your browser using DataLab