Learn R Programming

dartR.base (version 1.0.5)

gl.load: Loads an object from compressed binary format produced by gl.save()

Description

This is a wrapper for readRDS() The function loads the object from the current workspace, checks if it is a dartR genlight object, converts it if it is not, and returns the gl object. A compliance check can be requested.

Usage

gl.load(file, compliance = FALSE, verbose = NULL)

Value

The loaded object

Arguments

file

Name of the file to receive data [required].

compliance

Whether to undertake a compliance check [default FALSE].

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

Author

Custodian: Arthur Georges -- Post to https://groups.google.com/d/forum/dartr

See Also

gl.save

Other io: gl.read.csv(), gl.read.dart(), gl.read.fasta(), gl.read.silicodart(), gl.save(), gl.write.csv(), utils.read.dart()