# NOT RUN {
# This example assumes user has already run MGDrivE and generated output.
# This also assumes that the user has already split output by patch.
# See vignette for complete example.
# set read/write directory
fPath <- "path/to/data/containing/folder"
# Need genotypes from the cube run in the simulation
# This is dependent on the simulation run
# Using Mendelian cube for this example
cube <- cubeMendelian()
# no return value from function
aggregateFemales(readDir= fPath, writeDir = NULL, genotypes = cube$genotypesID,
remFile = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab