satijalab / sctransform

R package for modeling single cell UMI expression data using regularized negative binomial regression
GNU General Public License v3.0
206 stars 33 forks source link

lazy-load database '/home/yanxing/R/x86_64-pc-linux-gnu-library/4.0/sctransform/R/sctransform.rdb' is corrupt #84

Closed chenyx47 closed 3 years ago

chenyx47 commented 3 years ago

Hi, I met this problem when running SCTransform in scRNA analysis Run:

scRNA <- SCTransform(scRNA, return.only.var.genes = F, vars.to.regress = c("S.Score", "G2M.Score"), method = 'glmGamPoi')

Error:

lazy-load database '/home/yanxing/R/x86_64-pc-linux-gnu-library/4.0/sctransform/R/sctransform.rdb' is corrupt``

Any help would be appreciated.

JerryZhang-1222 commented 2 years ago

Hello chen, I have just run into an exactly the same error. Guess you have already fixed that. For anyone having the same eror, just restar your Rstudio and the problem will be solved.