GreenleafLab / ArchR

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

Error with addIterativeLSI #2098

Open eelishh opened 10 months ago

eelishh commented 10 months ago

Hi all!

I have a problem with the LSI function, I get the following error. I want to analyze single cell( Atac-seq) data for two mouse samples. I figure out that running an each sample separately it works, but when I put them together I got the error. This is my log file:

Attach my log file ArchR-addIterativeLSI-3225e98f2e7-Date-2024-01-16_Time-16-16-09.693821.log

The bug

proj2 <- addIterativeLSI(

  • ArchRProj = proj2,
  • useMatrix = "TileMatrix",
  • name = "IterativeLSI",
  • iterations = 1,
  • clusterParams = list(
  • resolution =0.2,
  • sampleCells = 10000,
  • maxClusters = NULL,

  • n.start = 10
  • ),
  • outlierQuantiles = NULL,
  • dimsToUse = 1:30) Checking Inputs... ArchR logging to : ArchRLogs/ArchR-addIterativeLSI-3225e98f2e7-Date-2024-01-16_Time-16-16-09.693821.log If there is an issue, please report to github with logFile! 2024-01-16 16:16:09.871172 : Computing Total Across All Features, 0.001 mins elapsed. Error in FUN(X[[i]], ...) : rowSums lengths do not match in ArrowFiles for a seqname!

Thank you for any help in advance!

rcorces commented 10 months ago

Hi @eelishh! 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.