Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upError in while ((it <- it + 1) < limit && abs(del) > eps) { : missing value where TRUE/FALSE needed #65
Comments
|
What is the output of |
|
I'm also experiencing this error (on a Seurat object).
Note: I've not encountered this bug before attempting to use it with denoised data (where the expression matrix no longer contains integer values).
|
|
The problem seems to be that some lowly detected genes cause errors during the model fitting step.
But why would you re-normalize de-noised data? I doubt that is appropriate. If you want to smooth the data, you can do so after fitting the regularized models as shown in this vignette |
… only matters to people playing around with fractional counts (see issue #65)
|
Hi. I am getting this error, which seems related:
I have successfully been running the code for this very dataset before, and it worked, and comparing the sctransform packages, I went from 0.20 to 0.31. Any idea? This is a SmartSeq-2 dataset, and I know that sctransform is rather for umi-based data. Still wondering, as it seemed to technically run before. Best and many thanks in advance |
|
Hi Katrin, this is likely related to a bug that is triggered by some SmartSeq2 data. Could you try the develop branch? There should be a fix for the problem.
|
|
Am I doing something wrong?
Thanks for your quick response |
|
Sorry, my initial reply had a typo. The command is |
|
I reinstalled the package and it is working fine now. |

Hello,
I am trying to run SCTransform on a subset of my seurat object and here is the error I get :
seuratobj <- SCTransform(seuratobj, vars.to.regress = "percent.mt", verbose = TRUE)
Calculating cell attributes for input UMI matrix
Variance stabilizing transformation of count matrix of size 22846 by 73390
Model formula is y ~ log_umi
Get Negative Binomial regression parameters per gene
Using 2000 genes, 73390 cells
| | 0%Error in while ((it <- it + 1) < limit && abs(del) > eps) { :
missing value where TRUE/FALSE needed
In addition: There were 50 or more warnings (use warnings() to see the first 50)
could you please let me know what I am doing wrong ?
thanks for your help and time
morgane