Converts a genlight object to genind object
Usage
gl2gi(x, probar = FALSE, verbose = NULL)
Arguments
- x
A genlight object [required].
- probar
If TRUE, a progress bar will be displayed for long loops
[default TRUE].
- verbose
Verbosity: 0, silent or fatal errors; 1, begin and end; 2,
progress log; 3, progress and results summary; 5, full report
[default 2 or as specified using gl.set.verbosity].
Value
A genind object, with all slots filled.
Details
This function uses a faster version of df2genind (from the adegenet
package)