Closed rcorces closed 2 years ago
Hi @rcorces! 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.
Before we help you, you must respond to the following questions 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. Can you recapitulate your error using the tutorial code and dataset? If so, provide a reproducible example.
3. Did you post your log file? If not, add it now.
@jacobHog - Your issue is that the names from your matrices dont match. This has been posted previously - https://github.com/GreenleafLab/ArchR/issues/829
You can see the names of the matrices using this code which comes directly from the function
featureDF1 <- ArchR:::.getFeatureDF(getArrowFiles(ArchRProj), useMatrix1)
featureDF2 <- ArchR:::.getFeatureDF(getArrowFiles(ArchRProj), useMatrix2)
#Check Seqnames
featureDF1 <- ArchR:::.checkSeqnames(featureDF1, useMatrix1, useSeqnames1, matrixClass1, logFile)
featureDF2 <- ArchR:::.checkSeqnames(featureDF2, useMatrix2, useSeqnames2, matrixClass2, logFile)
#Create Match Names
featureDF1$matchName <- toupper(featureDF1$name)
featureDF2$matchName <- toupper(featureDF2$name)
This should show you why your names dont match. You can try to use removeFromName1
or removeFromName2
params to solve the problem
Discussed in https://github.com/GreenleafLab/ArchR/discussions/1323