-
Notifications
You must be signed in to change notification settings - Fork 94
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 message during running runSCENIC_3_scoreCells() #439
Comments
Hello, thanks for this great tool! When I run 'runSCENIC_3_scoreCells()' with SCENIC version 1.3.1, I got the following error: Catched error in AUCell_buildRankings() or in the histogram plot: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE. What should I do |
@jiuquzjw Hi, |
Thank you. It really helps. |
Just an FYI. I am trying to run AUCell_run with the example from the documentation and I get the same error. But I am using R 4.2.1 and Bioconductor 3.16. I am going to try even older versions of Bioconductor to find if there is some combinaton that works with older versions of R. Any other suggestions are most welcome. library(AUCell)
# Print session info
print(sessionInfo())
# Fake run of AUCell
set.seed(123)
exprMatrix <- matrix(
data=sample(c(rep(0, 5000), sample(1:3, 5000, replace=TRUE))),
nrow=20,
dimnames=list(paste("Gene", 1:20, sep=""),
paste("Cell", 1:500, sep="")))
geneSets <- list(geneSet1=sample(rownames(exprMatrix), 10),
geneSet2=sample(rownames(exprMatrix), 5))
cells_rankings <- AUCell_buildRankings(exprMatrix, plotStats = FALSE)
cells_AUC <- AUCell_calcAUC(geneSets, cells_rankings, aucMaxRank=5, nCores=1)
selectedThresholds <- rowMeans(getAUC(cells_AUC))
cellsTsne<- Rtsne::Rtsne(t(exprMatrix),max_iter = 10)$Y
# cellsTsne<- tsne::tsne(t(exprMatrix),max_iter = 10)
rownames(cellsTsne) <- colnames(exprMatrix)
######
par(mfrow=c(2,3))
thrs <- AUCell_plotTSNE(tSNE=cellsTsne, exprMat=NULL,
cellsAUC=cells_AUC, thresholds=selectedThresholds,
plots = c("histogram", "binaryAUC", "AUC"))
#####
# Color based on the known phenodata:
cellInfo <- data.frame(cellType1=sample(LETTERS[1:3],ncol(exprMatrix), replace=TRUE),
cellType2=sample(letters[5:7],ncol(exprMatrix), replace=TRUE),
nGenes=abs(rnorm(ncol(exprMatrix))),
row.names=colnames(exprMatrix))
colVars <- list(cellType2=setNames(c("skyblue","magenta", "darkorange"),letters[5:7]))
# dev.off()
plotTsne_cellProps(cellsTsne, cellInfo, colVars=colVars) version 4.2.1 (2022-06-23) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
hi,i have same problem same as you.if you have solved it. "Can you tell me the version of the AUCell package? |
The problem is not with AUCell but matrixStats. My sys-admin solved it for
me so I don't have the details but this worked in another case I got the
same error
remotes::install_version("matrixStats", version="1.1.0") # restart your
session and run previous scripts
Good luck
…On Fri, Jun 21, 2024 at 3:52 PM zhangbaobao123-abc ***@***.***> wrote:
Hello, thanks for this great tool!
When I run 'runSCENIC_3_scoreCells()' with SCENIC version 1.3.1, I got the
following error:
Catched error in AUCell_buildRankings() or in the histogram plot: useNames
= NA is defunct. Instead, specify either useNames = TRUE or useNames =
FALSE. Error in saveRDS(aucellRankings, file = getIntName(scenicOptions,
"aucell_rankings")) : object 'aucellRankings' not found
What should I do
hi,i have same problem same as you.if you have solved it. "Can you tell me
the version of the AUCell package?
—
Reply to this email directly, view it on GitHub
<#439 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2UYJTCGTF5GALC3WG2JKDZIQVYVAVCNFSM6AAAAABCAMEE4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSG44TQMRXGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Catched error in AUCell_buildRankings() or in the histogram plot:
The text was updated successfully, but these errors were encountered: