Hi,
Apologies if it is a stupid error/common knowledge! I am trying to integrate two scRNAseq datasets and I am following this tutorial and I have a problem in the first few lines. The tutorial tells me to source a custom function to visualize the distribution of cells of different datasets per cluster, alongside cluster sizes doing:
source("utils/custom_seurat_functions.R")
As expected it gives me this error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'utils/custom_seurat_functions.R': No such file or directory
but when I tried to create a new folder (both_test) it keeps giving me error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning messages:
1: In file(filename, "r", encoding = encoding) :
'raw = FALSE' but '/Users/camilla/Desktop/boh_test' is not a regular file
2: In file(filename, "r", encoding = encoding) :
cannot open file '/Users/camilla/Desktop/boh_test': it is a directory
I tried to follow this solution but again it doesn't`t work and it keeps giving me the same errors.What do I do wrong? Apologies if it is stupid question and thank you in advance!
Camilla