[x] If Folder_Name = NULL or "", its going to be the standard "MetaProViz_Date". If Folder_Name = "Test", its going to be the standard "MetaProViz_Date_Test"
[x] We need to make sure that no signs are used that are not allowed when saving folders
if(grepl('[^[:alnum:]]', Folder_Name){
stop("The 'Folder_Name' must not contain any special characters.")
}
Gives an error if a special character exists in the string.
[x] If CoRe=TRUE, we need to add CoRe into the file names. Otherwise we end up overwriting the files if someone analyses both intra and CoRe samples together. For example "DMA_CoRe".
[x] If Folder_Name = NULL or "", its going to be the standard "MetaProViz_Date". If Folder_Name = "Test", its going to be the standard "MetaProViz_Date_Test"
[x] We need to make sure that no signs are used that are not allowed when saving folders
if(grepl('[^[:alnum:]]', Folder_Name){ stop("The 'Folder_Name' must not contain any special characters.") } Gives an error if a special character exists in the string.
[x] If CoRe=TRUE, we need to add CoRe into the file names. Otherwise we end up overwriting the files if someone analyses both intra and CoRe samples together. For example "DMA_CoRe".