writePop {relSim} | R Documentation |
Saves/writes population profiles to disk
Description
Writes a population of profiles to disk using the original allele designations rather than the internal integer representations that are used for the other functions.
Usage
writePop(fileName, pop, addAmelo = FALSE, delim = ",", dupLoci = TRUE)
Arguments
fileName |
the name and path where the population profiles are to be saved to. |
pop |
an object of class |
addAmelo |
The simulated populations do not have Amelogenin. If
|
delim |
The allele delimiter. |
dupLoci |
If |
Note
Rare alleles are recoded to 108.1.
Author(s)
James M. Curran
See Also
breedFst
Examples
data(USCaucs)
pop = breedFst(USCaucs)
## Not run:
writePop("USCaucs.csv", pop)
## End(Not run)
[Package relSim version 1.0.0 Index]