-
Notifications
You must be signed in to change notification settings - Fork 140
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] addDoubletScores function: "addIterativeLSI" - tutorial data #2082
Comments
Hi @jinhys! Thanks for using ArchR! Please make sure that your post belongs in the Issues section. Only bugs and error reports belong in the Issues section. Usage questions and feature requests should be posted in the Discussions section, not in Issues. |
Hey. I have the same error showing up. Please note that i have run ArchR on the same dataset previously and it had worked. Here is the error and the sessioninfo along with output of the logfile. I get the error when i try to run DoubletScores. The error : 2024-02-22 17:07:55 : ERROR Found in .computeLSI for <simpleError in irlba::irlba(mat, nDimensions, nDimensions): function 'as_cholmod_sparse' not provided by package 'Matrix'> 2024-02-22 17:07:55 : ERROR Found in .LSIPartialMatrix for <simpleError in .logError(e, fn = ".computeLSI", info = "", errorList = errorList, logFile = logFile): Exiting See Error Above> 2024-02-22 17:07:55 : ERROR Found in addIterativeLSI for Sample1 (1 of 5) : <simpleError in .logError(e, fn = ".LSIPartialMatrix", info = "", errorList = errorList, logFile = logFile): Exiting See Error Above> Error in .logError(e, fn = "addIterativeLSI", info = prefix, errorList = list(ArrowFile = ArrowFile), : Here is the sessioninfo() ─ Session info ─────────────────────────────────────────────────────────────────────── ─ Packages ─────────────────────────────────────────────────────────────────────────── [1] /Library/Frameworks/R.framework/Versions/4.2/Resources/library ────────────────────────────────────────────────────────────────────────────────────── And here is the output of the logfile
Logging With ArchR! Start Time : 2024-02-22 17:07:46 ------- ArchR Info ArchRThreads = 1 ------- System Info Computer OS = unix ------- Session Info R version 4.2.3 (2023-03-15) Matrix products: default Random number generation: locale: attached base packages: other attached packages: loaded via a namespace (and not attached): ------- Log Info 2024-02-22 17:07:46 : addDoubletScores Input-Parameters, Class = list addDoubletScores Input-Parameters$input: length = 5 addDoubletScores Input-Parameters$useMatrix: length = 1 addDoubletScores Input-Parameters$k: length = 1 addDoubletScores Input-Parameters$nTrials: length = 1 addDoubletScores Input-Parameters$dimsToUse: length = 30 addDoubletScores Input-Parameters$LSIMethod: length = 1 addDoubletScores Input-Parameters$scaleDims: length = 1 addDoubletScores Input-Parameters$corCutOff: length = 1 addDoubletScores Input-Parameters$knnMethod: length = 1 addDoubletScores Input-Parameters$outDir: length = 1 addDoubletScores Input-Parameters$threads: length = 1 addDoubletScores Input-Parameters$force: length = 1 addDoubletScores Input-Parameters$parallelParam: length = 0 addDoubletScores Input-Parameters$verbose: length = 1 addDoubletScores Input-Parameters$logFile: length = 1 2024-02-22 17:07:46 : Batch Execution w/ safelapply!, 0 mins elapsed. 2024-02-22 17:07:46 : IterativeLSI Input-Parameters, Class = list IterativeLSI Input-Parameters$ArchRProj: length = 1 IterativeLSI Input-Parameters$useMatrix: length = 1 IterativeLSI Input-Parameters$name: length = 1 IterativeLSI Input-Parameters$iterations: length = 1 IterativeLSI Input-Parameters$firstSelection: length = 1 IterativeLSI Input-Parameters$depthCol: length = 1 IterativeLSI Input-Parameters$varFeatures: length = 1 IterativeLSI Input-Parameters$dimsToUse: length = 30 IterativeLSI Input-Parameters$LSIMethod: length = 1 IterativeLSI Input-Parameters$scaleDims: length = 1 IterativeLSI Input-Parameters$corCutOff: length = 1 IterativeLSI Input-Parameters$binarize: length = 1 IterativeLSI Input-Parameters$outlierQuantiles: length = 0 IterativeLSI Input-Parameters$filterBias: length = 1 IterativeLSI Input-Parameters$sampleCellsPre: length = 1 IterativeLSI Input-Parameters$projectCellsPre: length = 1 IterativeLSI Input-Parameters$sampleCellsFinal: length = 0 IterativeLSI Input-Parameters$selectionMethod: length = 1 IterativeLSI Input-Parameters$scaleTo: length = 1 IterativeLSI Input-Parameters$totalFeatures: length = 1 IterativeLSI Input-Parameters$filterQuantile: length = 1 IterativeLSI Input-Parameters$excludeChr: length = 0 IterativeLSI Input-Parameters$keep0lsi: length = 1 IterativeLSI Input-Parameters$saveIterations: length = 1 IterativeLSI Input-Parameters$nPlot: length = 1 IterativeLSI Input-Parameters$outDir: length = 1 IterativeLSI Input-Parameters$threads: length = 1 IterativeLSI Input-Parameters$seed: length = 1 IterativeLSI Input-Parameters$verbose: length = 1 IterativeLSI Input-Parameters$force: length = 1 IterativeLSI Input-Parameters$logFile: length = 1 2024-02-22 17:07:46 : Computing Total Across All Features, 0 mins elapsed. 2024-02-22 17:07:54 : LSI Parameters, Class = list LSI Parameters$: length = 1 1 function (name) LSI Parameters$mat: nRows = 25000, nCols = 1788 LSI Parameters$LSIMethod: length = 1 LSI Parameters$scaleTo: length = 1 LSI Parameters$nDimensions: length = 1 LSI Parameters$binarize: length = 1 LSI Parameters$outlierQuantiles: length = 0 LSI Parameters$keep0lsi: length = 1 LSI Parameters$seed: length = 1 LSI Parameters$verbose: length = 1 LSI Parameters$tstart: length = 1 LSI Parameters$logFile: length = 1 2024-02-22 17:07:54 : Running LSI, Input Matrix = 0.126 GB, 0.132 mins elapsed. 2024-02-22 17:07:55 : ERROR Found in .computeLSI for <simpleError in irlba::irlba(mat, nDimensions, nDimensions): function 'as_cholmod_sparse' not provided by package 'Matrix'> 2024-02-22 17:07:55 : errorList, Class = list errorList$mat: nRows = 25000, nCols = 1788 errorList$colSm: length = 1 errorList$idf: length = 1 errorList$V: length = 1 errorList$matSVD: length = 1 errorList$out: length = 1 2024-02-22 17:07:55 : ERROR Found in .LSIPartialMatrix for <simpleError in .logError(e, fn = ".computeLSI", info = "", errorList = errorList, logFile = logFile): Exiting See Error Above> 2024-02-22 17:07:55 : errorList, Class = list errorList$: length = 1 1 function (name) errorList$ArrowFiles: length = 1 errorList$useMatrix: length = 1 errorList$cellNames: length = 1788 errorList$cellDepth: length = 1788 errorList$sampleNames: length = 1788 errorList$dimsToUse: length = 30 errorList$binarize: length = 1 errorList$outlierQuantiles: length = 0 errorList$keep0lsi: length = 1 errorList$LSIMethod: length = 1 errorList$scaleTo: length = 1 errorList$sampleCells: length = 0 errorList$projectAll: length = 0 errorList$threads: length = 1 errorList$seed: length = 1 errorList$useIndex: length = 1 errorList$tstart: length = 1 errorList$verbose: length = 1 errorList$logFile: length = 1 errorList$outLSI: length = 1 errorList$matSVD: length = 1 2024-02-22 17:07:55 : ERROR Found in addIterativeLSI for Sample1 (1 of 5) : <simpleError in .logError(e, fn = ".LSIPartialMatrix", info = "", errorList = errorList, logFile = logFile): Exiting See Error Above> 2024-02-22 17:07:55 : errorList, Class = list errorList$ArrowFile: length = 1 |
I have a feeling that this is related to Matrix/irlba and i did try downgrading them but i wasn't able to. I have a MAC for reference. |
I have the same error and I don't know how to fix it. |
Describe the bug
Hi. According to the log file, I keep getting an error which is found in
addIterativeLSI
for one of Arrow files generated using the tutorial dataset when I run theaddDoubletScores
function. As requested, I included the details of this error below.Thanks in advance for your help!
Attach your log file
ArchR-addDoubletScores-2c496e3354b1-Date-2023-12-22_Time-14-41-33.log
To Reproduce
I used the tutorial dataset using this command as mentioned on the ArchR tutorial web page included below. According to the attached log file, I get an error on the first sample (i.e.,
scATAC_BMMC_R1
).tutorial dataset used:
getTutorialData("Hematopoiesis")
tutorial web page:
https://www.archrproject.com/articles/Articles/tutorial.html#getting-set-up-1
Expected behavior
These are the expectations:
addDoubletScores
function)addIterativeLSI
function, etc.The text was updated successfully, but these errors were encountered: