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

gi2gl

Converts a genind object to genlight object


Description

Converts a genind object to genlight object

Usage

gi2gl(gi, parallel = FALSE, verbose = NULL)

Arguments

gi

– a genind object

parallel

– switch to deactivate parallel version. Default set to FALSE. Might not be worth to run it parallel most of the times.

verbose

– verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2]

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)

Value

A genlight 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.