Learn R Programming

dartR (version 1.1.11)

gl2plink: Converts a genlight object to plink file format

Description

This function exports a genlight object into plink format and save it into a file

Usage

gl2plink(x, outfile = "plink.csv", outpath = tempdir())

Arguments

x

-- genlight object

outfile

-- name (path) of the output plink file [default plink.csv]

outpath

-- path of the output file. Default is to tempdir(). If to be saved in the current working directory change to "."

Examples

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

Run the code above in your browser using DataLab