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

gl.save

Save an object in compressed binary format for later rapid retrieval.


Description

This is a wrapper for saveRDS().

Usage

gl.save(x, file, verbose = NULL)

Arguments

x

– name of the genlight object containing SNP genotypes [required]

file

– name of the file to receive the binary version of the object [required]

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

The script saves the object to the current workspace and returns the input gl object.

Value

the input object

Author(s)

Arthur Georges (Post to https://groups.google.com/d/forum/dartr)

Examples

gl.save(testset.gl,file.path(tempdir(),"testset.rds"))
gl.reloaded <- gl.load(file.path(tempdir(),"testset.rds"))

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.