Commit f0681ac4 authored by Lena Hersemann's avatar Lena Hersemann

added code to save a copy from the used ms_data_prep.R script in the output folder

parent 709fdb76
......@@ -637,6 +637,11 @@ write_tsv(imputeData, path=add_prefix("intens_imputed.txt"))
#-----------------------------------------------------------------------------------------------------------------------
# save copy of the used ms_data_prep.R script
system("cp ${NGS_TOOLS}/ms_workflow/ms_data_prep.R ./.ms_data_prep_$(date +%Y%m%d_%H%M).R")
# get R version and package infos
writeLines(capture.output(devtools::session_info()), ".sessionInfo.txt")
session::save.session(".ms_data_prep.R.dat")
# session::restore.session(".ms_data_prep.R.dat")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment