Open yeungj234 opened 1 year ago
note: doing DESEq with the code I provided doesn't allow you to proceed further with downstream steps since I get this error when trying to run the TF_Activity function(). Please advise.
I also receive the same error message when trying to use RNAseqDegs_DESeq, and I am interested in a fix for this.
@vivekkohar @lusystemsbio any insight here?
note: doing DESEq with the code I provided doesn't allow you to proceed further with downstream steps since I get this error when trying to run the TF_Activity function(). Please advise.
We have updated this function, and it should work normally after reinstallation. By the way, I think you should use cell type without batch
@vivekkohar @lusystemsbio any insight here?
I also receive the same error message when trying to use RNAseqDegs_DESeq, and I am interested in a fix for this.
After reinstalling, the function should work properly since we have implemented updates.
Hello, I have encountered a bug when using DESeq instead of limma for differential gene analysis step.
Here is the error message with batch information included:![image](https://user-images.githubusercontent.com/64023046/226378526-83f81ed4-116e-4d6b-a4a6-b681751fe399.png)
Here is the error message without batch information included:![image](https://user-images.githubusercontent.com/64023046/226378799-8cdce02c-0d12-45e7-928c-afc542178316.png)
If I use the same exact code and phenoData information but with RNAseqDegs_limma, the function works fine and I don't encounter this issue.
I tried to fix the issue by looking at your source code for RNAseqDegs_DESeq and changing it to this:
RNAseqDegs_DESeq = function(counts, phenodata, complist, qval = 0.05) { celltype = phenodata$celltype compList <- complist DEresult = vector(mode = "list", length = length(compList) + 1) names(DEresult) = c(compList, "Overall")
This code then allows for DESeq to run properly if only celltype information is provided in phenoData but not batch information. I'm not sure how to fix the problem at this point but since my other analyses have been using DESeq and not limma, I would like to use NetAct with DESeq preferably.