inst/scripts/msireg/rbind_csvs_to_RDS.R

# rbind_csvs_to_RDS.R
options(warn=-1)
args = commandArgs(trailingOnly=TRUE)
stopifnot(length(args)>1)
oname = args[1]
files = args[-1]
fl = lapply(files, read.csv, stringsAsFactors=FALSE)
ans = do.call(rbind, fl)
saveRDS(ans, file=oname)
vjcitn/BiocOncoTK documentation built on Feb. 14, 2023, 11:56 p.m.