-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 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. |
Hi Christoph, I have recently started analysing my sc data and I got this error. I have been following a non-Seurat workflow where instead I use the SingleCellExperiment package to create an sce object (SingleCellExperiment() function) and did some filtering including low library size ,cells, low feature count and high mito percentage. ... I tried using the vst() function for variance stabilizing transformation on the data and got the above error. The traceback output was: stop(condition) This was performed on the raw counts prior to any other normalization. |
I finally got to it again. I installed the development version, and it seems working again. Thanks for your help. |
… only matters to people playing around with fractional counts (see issue #65)
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
The text was updated successfully, but these errors were encountered: