-
Notifications
You must be signed in to change notification settings - Fork 98
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: matrix multiplication: incompatible matrix dimensions: 100x96490 and 96489x22 #237
Comments
Hi @claireanjou, sorry for the delayed response. Can you share your |
Have the same problem. R version 4.3.3 (2024-02-29) Matrix products: default locale: time zone: Europe/Lisbon attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi @fistorres, Can you share the code you are running? Is this on the pbmc_small dataset? |
When I am running RunHarmony, it produces this error message. What could this mean? I have ran the same code before and never encountered this error. Would appreciate any help, thanks!
ERROR MESSAGE:
Error: matrix multiplication: incompatible matrix dimensions: 100x96490 and 96489x22
In addition: Warning messages:
1: In theta * (1 - exp(-(N_b/(nclust * tau))^2)) :
longer object length is not a multiple of shorter object length
2: In rbind(rep(1, N), phi) :
number of columns of result is not a multiple of vector length (arg 1)
CODE SAMPLE:
pbmc_small <- FilterGenes(object = pbmc_small, min.value = 0.5, min.cells = 100)
pbmc_small <- NormalizeData(pbmc_small)
pbmc_small <- FindVariableFeatures(pbmc_small, selection.method = "vst", nfeatures = 2000)
pbmc_small <- ScaleData(pbmc_small, features = rownames(pbmc_small))
pbmc_small <- RunPCA(pbmc_small, features = VariableFeatures(object = pbmc_small))
[email protected]$library_id <- as.factor([email protected]$library_id)
pbmc_small <- RunHarmony(pbmc_small, group.by.vars="library_id", verbose = TRUE)
The text was updated successfully, but these errors were encountered: