I'm learing about Bioconductor,try to work on Bioconductor>>Workflow Package>>RnaSeqGeneEdgeRQL When i run the codes
y <- DGEList(GenewiseCounts[,-1], group=group, genes=GenewiseCounts[,1,drop=FALSE])
there is error:
Error in .isAllZero(counts) : counts must be positive finite values
check ?DGEList() it shows "counts numeric matrix of read counts." I thought count shoule be matrix,so try to convert GenewiseCounts to matrix by as.matrix() The error still exists How can I fix it?
There is no error in the RnaSeqGeneEdgeRQL workflow, which runs perfectly as stated. The output from all the code can be seen here.
It appears from the error message that you may have tried to use a matrix of GenewiseCounts that contains negative or NA values. That is naturally not allowed.
Have a read of the Posting Guide. Please check that you are using the latest release of Bioconductor and please show the output from sessionInfo().
Thank you for providing more details of your session. I am baffled what the problem might because the same code works fine for me and for others. I am running the same version of R and the same versions of all the packages as you are. The only differences are:
I'm not running R Studio.
You're using a Chinese locale for R.
You're using Windows 8 instead of Windows 10.
In principle, none of the above should make any difference. However, could you please trying running the code in plain R instead of in R Studio?
Thank you for your answer
however,as you say, I just copy codes form that page and paste in Rstudio Source editor.
I didn't change any thing. and the error is still
Thank you for providing more details of your session. I am baffled what the problem might because the same code works fine for me and for others. I am running the same version of R and the same versions of all the packages as you are. The only differences are:
In principle, none of the above should make any difference. However, could you please trying running the code in plain R instead of in R Studio?
Also, could you try this code:
What is the output?
Thank you for your help.
I try it on another computer in lab.
These codes run correctly
Maybe the problem is my pc