Converts a genind object into a genlight object
Usage
gi2gl(gi, parallel = FALSE, verbose = NULL)
Arguments
- gi
A genind object [required].
- parallel
Switch to deactivate parallel version. It might not be worth
to run it parallel most of the times [default FALSE].
- verbose
Verbosity: 0, silent or fatal errors; 1, begin and end; 2,
progress log ; 3, progress and results summary; 5, full report [default 2].
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)