An error occurred while loading the file. Please try again.
-
louis_heraut authored02bc6469
#!/usr/bin/env Rscript
library(here)
library(argparser, quietly=TRUE)
source(file.path(dirname(here()), 'init.R'))
# Create a parser
p = arg_parser("Analyse data.")
# Add command line arguments
p = add_argument(p, '--filedir',
type="character",
help="Directory(ies) in the data directory to search for data.")
p = add_argument(p, '--filename',
type="character",
help="Filename(s) in the data directory to search for data. If 'all', the whole directory(ies) will used.")
# Parse the command line arguments
argv = parse_args(p)
# Run approriate function