GreenleafLab / ArchR

ArchR : Analysis of Regulatory Chromatin in R (www.ArchRProject.com)
MIT License
384 stars 137 forks source link

Error when running addIterativeLSI #2075

Open QianhuiXu opened 10 months ago

QianhuiXu commented 10 months ago

Hello,

cellchat is a wonderful tool! I ran into the same issue with running addIterativeLSI with my data.

code: scATAC <- addIterativeLSI( ArchRProj = scATAC, force = TRUE, useMatrix = "TileMatrix", name = "IterativeLSI", iterations = 2, clusterParams = list( #See Seurat::FindClusters resolution = c(0.2), sampleCells = 10000, n.start = 10 ), varFeatures = 25000, dimsToUse = 1:30 )

Error : simpleError in .Call("CRsparse_colSums", x, na.rm, FALSE, sparseResult): "CRsparse_colSums" not resolved from current namespace (Matrix)

I'm really at a loss as to how to proceed, and any guidance would be much appreciated! Thank you for your kind help!

ArchR-addIterativeLSI-7e0451021fc8-Date-2023-12-09_Time-12-50-58.157256.log

rcorces commented 10 months ago

Hi @QianhuiXu! 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.
It is worth noting that there are very few actual bugs in ArchR. If you are getting an error, it is probably something specific to your dataset, usage, or computational environment, all of which are extremely challenging to troubleshoot. As such, we require reproducible examples (preferably using the tutorial dataset) from users who want assistance. If you cannot reproduce your error, we will not be able to help. Before going through the work of making a reproducible example, search the previous Issues, Discussions, function definitions, or the ArchR manual and you will likely find the answers you are looking for. If your post does not contain a reproducible example, it is unlikely to receive a response.
In addition to a reproducible example, you must do the following things before we help you, unless your original post already contained this information: 1. If you've encountered an error, have you already searched previous Issues to make sure that this hasn't already been solved? 2. Did you post your log file? If not, add it now. 3.__ Remove any screenshots that contain text and instead copy and paste the text using markdown's codeblock syntax (three consecutive backticks). You can do this by editing your original post.