It would be useful to have this code in a function:
source = file.path(system.file("rmarkdown", package="hbcABC"),
"Rscripts",
"singlecell",
"clustering_seurat.R")
file.copy(source, "clustering.r")
so we can just call copy_clustering_seurat(final_location). Good things about making functions:
- you can use auto-complete in R, so you can see all the files and navigate to the one you want to use.
- It would be good to support copying from remote to have the last version :)