ArchR icon indicating copy to clipboard operation
ArchR copied to clipboard

Sparse_Marginsum Error Running IterativeLSI

Open S-Rajhans opened this issue 7 months ago • 10 comments

Hello, I'm trying to subset a cell population in mouse samples from my existing ArchR project and re-run clustering/dimensional analysis. I'm able to subset and create a new project but am consistently getting this error at the IterativeLSI step. I'm not too sure how to interpret the R_sparse_marginsum readout, so would really appreciate any insight.

I’ve checked the version of the Matrix package as well (1.6.1-1) so I can’t figure out what’s causing this.

ArchR-addIterativeLSI-3334516593484e-Date-2023-11-21_Time-13-14-39.699038.log

+   ArchRProj = duct2,
+   useMatrix = "TileMatrix", 
+   name = "IterativeLSI", 
+   iterations = 2, 
+   clusterParams = list( #See Seurat::FindClusters
+     resolution = c(0.4), 
+     sampleCells = 10000, 
+     n.start = 10
+   ), 
+   varFeatures = 25000, 
+   dimsToUse = 1:5,
+   force = TRUE
+ )
Checking Inputs...
ArchR logging to : ArchRLogs/ArchR-addIterativeLSI-3334516593484e-Date-2023-11-21_Time-13-14-39.699038.log
If there is an issue, please report to github with logFile!
2023-11-21 13:14:40.754279 : Computing Total Across All Features, 0.008 mins elapsed.
2023-11-21 13:14:42.515783 : Computing Top Features, 0.038 mins elapsed.
###########
2023-11-21 13:14:46.103587 : Running LSI (1 of 2) on Top Features, 0.097 mins elapsed.
###########
2023-11-21 13:14:46.138874 : Creating Partial Matrix, 0.098 mins elapsed.
2023-11-21 13:14:54.908973 : Computing LSI, 0.244 mins elapsed.
 
************************************************************
2023-11-21 13:14:55.197164 : ERROR Found in .computeLSI for  
LogFile = ArchRLogs/ArchR-addIterativeLSI-3334516593484e-Date-2023-11-21_Time-13-14-39.699038.log
 
<simpleError in .local(x, na.rm, dims, ...): object 'R_sparse_marginsum' not found>
 
************************************************************
 
 
************************************************************
2023-11-21 13:14:55.33462 : ERROR Found in .LSIPartialMatrix for  
LogFile = ArchRLogs/ArchR-addIterativeLSI-3334516593484e-Date-2023-11-21_Time-13-14-39.699038.log
 
<simpleError in .logError(e, fn = ".computeLSI", info = "", errorList = errorList,     logFile = logFile): Exiting See Error Above>
 
************************************************************
 
Error in .logError(e, fn = ".LSIPartialMatrix", info = "", errorList = errorList,  : 
  Exiting See Error Above```

S-Rajhans avatar Nov 21 '23 18:11 S-Rajhans