Skip to content
Snippets Groups Projects
Verified Commit 601b4bfb authored by Laurent Modolo's avatar Laurent Modolo
Browse files

fix args parsing in R scripts

parent fdfd84da
No related branches found
No related tags found
No related merge requests found
library(kmerclust)
print(args)
load(file = paste0(args[1], ".Rdata"))
res <- compare_models(count, nboot = args[2] * 2, bootsize = nrow(count), core = as.numeric(args[2]))
save(res, file = paste0(args[1], "_boot_", args[3], ".Rdata"))
library(kmerclust)
args <- commandArgs(trailingOnly = TRUE)
print(args)
res_files <- list.files(pattern = "Rdata$")
res_total <- NULL
for (res_file in res_files) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment