Closed ghost closed 3 years ago
Thanks for your help before I wish you all the best in the future. Best regards
Use 400 cell files for subsequent DaPars2 analysis, Run DaPars2, the result file run scDaPars,show error :
There is nothing I can do for you if you just throw questions like this. The code itself should run smoothly (you can test using the example files). If you are experiencing errors, you can run each step separately using R scripts I provided on GitHub to debug your analysis and figure out what is the problem. If the question you identified is indeed related to my algorithm, I will help you with it. Otherwise, I cannot help you.
npc = which.max(var_cum > var_thre) What is the range of npc?
It depends on your data. but npc > 0 and npc<# of PCs.
I don’t understand what you mean, npc<# of PCs., what does # stand for? using the example files , npc = which.max(var_cum > var_thre) = 86; Using my data, npc = 1
"#" = number of..... Then the error you met earlier is because of your data. NPC is the number of PCs that can explain at least 40% of the variance in your data. In the example file, the number is 86, which means the first 86 PCs explain 40% of the variance in the data.
Why did var_thre choose 0.4? Can it be adjusted?
1> var_thre>= 0.4, is this value acceptable?
If I modify var_thre = 0.5, my data can be analyzed using scDaPars