Entering edit mode
4 weeks ago
nuorain
▴
30
Hello, I don't have problem in reading single sample by the script:
GSM4837523.data <- Read10X(data.dir = "GSM4837523_02dat20190515tisCARconDIS_featurebcmatrixfiltered\\outs\\filtered_feature_bc_matrix")
But when I use the script to read all samples, I encounter the error: Directory provided does not exist.
dirs <- dir("C:\\Users\\nuora\\OneDrive\\Desktop\\GSE159677", full.names = TRUE)
length(dirs)
SRRs <- lapply(dirs, function(dir){
CreateSeuratObject(counts = Read10X(paste(dir,"GSM4837523_02dat20190515tisCARconDIS_featurebcmatrixfiltered\\outs\\filtered_feature_bc_matrix", sep="/")), project = dir, min.cells = 3, min.features = 200)
})
You are on windows, don't
sep="/"
, usesep="\\"
Hi Bastien Herve, Thank you for your message. I got the same error.