Closed dm8000 closed 2 years ago
Hello! Yes that error is because you are missing the folders/path that you're trying to save the table to. I did not implement any automatic generation of the results folders, so that's something you need to add yourself or change the saving path to something different. In this case, you are trying to save the table to a folder called "tables" within the "results/_PROJECTID" dir, so you need to create that folder, or simply change the output path (DIR_RES) to something else.
Hello @lfranzen, I will bother you again
Block
{r clustering_annotations_export}
which starts in line 471 gives meIt seems to be specifically in the second line of the block, which is
write.csv(c_anno, file = file.path(DIR_RES, "tables", fname), row.names = F)
It seems to be a problem with the path. I see DIR_RES is defined in the very first block
{r setup, include=FALSE}
, asDIR_RES <- file.path(DIR_ROOT, "results" , PROJECT_ID)
. No folder calledresults
is available and none was created when I ran the script. I decided to create both theresults
andfigures
folder manually and ran the code from the start, but I still got the error.