Error with getMarkerFeatures(): Error in colMeans(m) : 'x' must be numeric #1255
Unanswered
zrcjessica
asked this question in
Questions / Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have snATAC-seq from multiple samples, and have already labeled the cell types and called peaks on the dataset. Within each cell type, I want to find differential marker peaks between groups A and B (high addiction vs. low addiction).
My command is as follows:
I get the following error:
I ran
colMeans()
on myPeakMatrix
to make sure everything was looking okay:After wading through the source code, I realized that the problem was that I had passed qualitative variables to the
bias
argument which causes the matrixm
incolMeans(m)
a character matrix rather than a numeric matrix. I tested the source code within Jupyter notebook on my data and it worked just fine. I resubmitted my job removing the qualitative variables and including only the default bias variables (bias = c("TSSEnrichment", "log10(nFrags)")
). However, I got the same error again. Now I'm not sure why, especially since the same data worked just fine within Jupyter notebook.ArchR log file attached. I'm using ArchR version 1.0.1, which is consistent with the version of the source code I was working with.
Help is much appreciated!
ArchR-getMarkerFeatures-6091249a108f-Date-2022-01-12_Time-16-15-01.log
Beta Was this translation helpful? Give feedback.
All reactions