View source: R/runeems_snps_setup.R
eems_cleanup | R Documentation |
cleanup eems
Deletes eems_setup bash and R scripts in a directory. Run this after all eems jobs are completed. Does not delete the "jobX.sh" bash files that run eems.
eems_cleanup(dir)
dir |
Character string with path to directory containing eems .sh amd .R scripts |
library(misc.wrappers)
# Path to VCF with SNPs
vcf.path <- file.path(system.file("extdata", package = "misc.wrappers"), "simK4.vcf.gz")
# Path to file with longitude and latitude of sampling locality of each individual
coords.path <- file.path(system.file("extdata", package = "misc.wrappers"), "simK4_coords.txt")
# Where to save output
save.path <- file.path(system.file("examples", package = "misc.wrappers"),"simK4")
# Setup environment and input files for runeems_snps
eems.setup <- runeems_snps_setup(x=vcf.path, coords=coords.path, save.in=save.path, numMCMCIter = 100000, numBurnIter = 10000, numThinIter = 999)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.