Learn R Programming

dartR (version 1.1.11)

gl2faststructure: Export DArT genlight object {adegenet} to faststructure format (to run faststructure elsewhere)

Description

Recodes in the quite specific faststructure format (e.g first six columns need to be there, but are ignored...check faststructure documentation (if you find any :-( )))

Usage

gl2faststructure(gl, outfile = "gl.str", probar = TRUE)

Arguments

gl

-- genlight object

outfile

-- filename of the output fastA file [default genlight.fasta]

probar

switch to show/hide progress bar

Details

The script writes out the a file in faststructure format.