Closed tarak77 closed 2 years ago
Hi Tarak, Thanks for using the package! For binA and binB, it seems that you divide the values by 10000. In our scGAD, the binA and binB don't need to divide that number, and it accepts values like 3130000, 3140000, etc. It could be the problem. Let me know if there are still errors!
Yours sincerely, Siqi Shen
Hi Siqi, its still giving the same error
would sharing some files with your work?
I think the error comes from the fread function for reading the data. This line is
"cell = fread(paths[k], select = c(1, 2, 4, 5))"
, and "paths" comes from "path", by
"paths = list.files(path, full.names = TRUE, recursive = TRUE)"
Could you please directly try the list.files function and see what the output is? It seems that "paths" variable is empty.
If the above still doesn't work, then certainly sharing two cells and the gene annotation file is helpful.
ah, i see so when I give the full path, it works! thanks
Hi Siqi and Ye, For now, I have ~58 single cell data which are diploid(meaning, unlike naming just chr1, chr2,......we can have chr1(mat), chr1(pat), chr2(mat),chr2(pat),.......) I came across your scGAD scoring method and wanted to try it on my data. With the help of Ye, I was able to get the input files but now that I am trying to implement the script its giving some errors.
and each bed file above looks something like this:
so, while running this command
gad_score = scGAD(path = "/4cs", genes = geneANNOTATION, depthNorm = TRUE, binPair = TRUE, res=10000)
i get the following errormaybe its due to the way i am giving the input path? but any help will be great!!