reached iteration limit in SCTransform
1
0
Entering edit mode
3.7 years ago
re_raz ▴ 70

Hi I got hundreds of warning "reached iteration limit" when I run

Sproject <- SCTransform(Sproject, vars.to.regress = c("percent.mt", "percent.rps", "percent.rpl", "percent.rrna", "nCount_RNA", "nFeature_RNA"), verbose = FALSE, return.only.var.genes = FALSE)

and the warning not stop until I stop running the code. Does anyone face the same issue? Is there any solution?

What is alternative function to replace SCTransform?

Thanks

SCTransform RNA-Seq seurat • 2.6k views
ADD COMMENT
0
Entering edit mode
3.7 years ago

This error is related to a problem with parameter estimation (theta) on certain cells when fitting the negative binomial regression. I've run into this problem before, and I found a few issue responses from the authors of Seurat/SCTransform that these warnings can be ignored, because that parameter is not used downstream (due to parameter regularization). More info about this in the github issues here and here.

ADD COMMENT
0
Entering edit mode

Thank you for help, but the warning not stop and I have to stop the code

ADD REPLY
1
Entering edit mode

You can ignore the warnings. Let the code run and it should eventually finish.

ADD REPLY
0
Entering edit mode

I will try that, Thanks

ADD REPLY
0
Entering edit mode

Not working for me, and I got a message Error: cannot allocate vector of size 18 GB although I am running my code on a remote server and memory.limit() give Inf.

ADD REPLY
0
Entering edit mode

Are you sure your remote server has no memory limit?

ADD REPLY
0
Entering edit mode

I check by memory.limit() and give me Inf

ADD REPLY

Login before adding your answer.

Traffic: 2191 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6