Learn R Programming

dartR (version 1.1.11)

gl2sa: Convert genlight objects to the format used in the SNPassoc package

Description

This function exports a genlight object into a SNPassoc object. See setupSNP

Usage

gl2sa(x)

Arguments

x

-- genlight object

Value

Returns an object of class 'snp' to be used with SNPassoc

Examples

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

Run the code above in your browser using DataLab