gl2gi: Converts a genlight object to genind object

View source: R/gl2gi.r

gl2giR Documentation

Converts a genlight object to genind object

Description

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].

Details

This function uses a faster version of df2genind (from the adegenet package)

Value

A genind object, with all slots filled.

Author(s)

Bernd Gruber (Post to https://groups.google.com/d/forum/dartr)


dartR documentation built on June 8, 2023, 6:48 a.m.