Learn R Programming

pheno2geno (version 1.4.0)

write.population: Writes a population object to file.

Description

Writes a population object to file, for easy loading of intermediate data later.

Usage

write.population(population, offspring = "offspring", founders = "founders",
    map = "map", verbose = FALSE, debugMode = 0)

Arguments

population

An object of class population. See create.population for details.

offspring

Core used to specify names of children phenotypic ("core_phenotypes.txt") genotypic ("core_genotypes.txt") and annotations ("core_annotations.txt") files.

founders

Core used to specify names of parental phenotypic ("core_phenotypes.txt") file.

map

Core used to specify names of genetic ("map_genetic.txt") and physical ("map_physical.txt") map files.

verbose

Be verbose.

debugMode

1: Print out checks, 2: print additional time information

Value

None.

Details

This function writes an object of class population into a file.

See Also

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    population <- fake.population()
    write.population(population,verbose=TRUE)
  
# }

Run the code above in your browser using DataLab