sulab-wmu / scPagwas

Obtain trait-relevant cell subpopulations by incorporating pathway activity transformed scRNA-seq data with GWAS data
Other
32 stars 9 forks source link

Error in FUN(newX[, i], ...) : is.atomic(y) is not TRUE #36

Open upohsdscz opened 1 month ago

upohsdscz commented 1 month ago

------ Mon Jul 29 12:08:23 2024 ------## *** 8th: scPagwas_perform_score function start! ****

upohsdscz commented 1 month ago

packageVersion("Seurat") [1] ‘4.4.0’ packageVersion("SeuratObject") [1] ‘4.1.4’

upohsdscz commented 1 month ago

image

correct_pdf<-Get_CorrectBg_p(Single_data=Single_data,

  • scPagwas.TRS.Score=Single_data$scPagwas.TRS.Score1,
  • iters_singlecell=100,
  • n_topgenes=1000,
  • assay="RNA",
  • scPagwas_topgenes=scPagwas_topgenes) |====================================================================================================================| 100% Error in FUN(newX[, i], ...) : is.atomic(y) is not TRUE In addition: Warning message: In asMethod(object) : sparse->dense coercion: allocating vector of size 7.5 GiB 分开来跑之后目测是运行这个函数时出现了问题