Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gl2gi

Converts a genlight object to genind object


Description

Converts a genlight object to genind object

Usage

gl2gi(gl, probar = FALSE, verbose = NULL)

Arguments

gl

– a genlight object

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 adgegenet package)

Value

A genind object, with all slots filled.

Author(s)


dartR

Importing and Analysing SNP and Silicodart Data Generated by Genome-Wide Restriction Fragment Analysis

v1.9.6
GPL-2
Authors
Bernd Gruber [aut, cre], Arthur Georges [aut], Jose L. Mijangos [aut], Peter J. Unmack [ctb], Oliver Berry [ctb], Lindsay V. Clark [ctb], Floriaan Devloo-Delva [ctb]
Initial release
2021-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.