Saves a population's phenotypic and marker data to a directory.
writeRecords(pop, dir, snpChip = 1, useQtl = FALSE,
includeHaplo = FALSE, append = TRUE, simParam = NULL)
an object of Pop-class
path to a directory for saving output
which SNP chip genotype to save. If useQtl=TRUE, this value will indicate which trait's QTL genotype to save. A value of 0 will skip writing a snpChip.
should QTL genotype be written instead of SNP chip genotypes.
should markers be seperated by female and male haplotypes.
if true, new records are added to any existing records. If false, any existing records are deleted before writing new records. Note that this will delete all files in the 'dir' directory.
an object of SimParam