Learn R Programming

GenomeAdmixR (version 2.1.7)

save_population: Save a population to file

Description

Saves a population to file for later use

Usage

save_population(population, file_name, compression = TRUE)

Arguments

population

Object of class population

file_name

Name of the file to save the population

compression

By default, the population is compressed to reduce file size. See for more information saveRDS

Value

No return value

Details

This function functions as a wrapper for the base function saveRDS.