Learn R Programming

dartR (version 0.80)

gl2gi: Converts a genlight object to genind object

Description

Converts a genlight object to genind object

Usage

gl2gi(gl, probar = TRUE)

Arguments

gl

-- a genlight object

probar

-- switch on/off progress bar

Value

A genind object, with all slots filled.

Details

this function uses a faster version of df2genind (from the adgegenet package)