Learn R Programming

dartR (version 1.1.11)

gi2gl: Converts a genind object to genlight object

Description

Converts a genind object to genlight object

Usage

gi2gl(gi, parallel = TRUE)

Arguments

gi

-- a genind object

parallel

-- switch to deactivate parallel version. Default set to TRUE. Only for testing purpose.

Value

A genlight object, with all slots filled.

Details

Be aware due to ambiguity which one is the reference allele a combination of gi2gl(gl2gi(gl)) does not return an identical object (but in terms of analysis this conversions are equivalent)