gi2gl: Converts a genind object to genlight object
Description
Converts a genind object to genlight object
Usage
gi2gl(gi)
Arguments
gi
-- a genind object
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)