Skip to content
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 in run.RCTD(), could not find function "solveIRWLS.weights" #227

Open
luoyufei opened this issue Jan 24, 2025 · 1 comment
Open

Error in run.RCTD(), could not find function "solveIRWLS.weights" #227

luoyufei opened this issue Jan 24, 2025 · 1 comment

Comments

@luoyufei
Copy link

Hi,

I'm trying to annotate cell type of my spatial transcriptomics data, generated by VISIUM HD.
When i ran RCTD <- run.RCTD(RCTD, doublet_mode = "doublet") , i got the following error:

Loading required package: spacexr
Error in { :
task 1 failed - "could not find function "solveIRWLS.weights""

I digged deeper trying with the 3 functions :
RCTD <-fitBulk(RCTD)
RCTD <- choose_sigma_c(RCTD,)
RCTD <- fitPixels(RCTD, doublet_mode = "doublet")
It output the same error at choose_sigma_c(RCTD) step.

Could you help me to work this out please?
Many thanks

@luoyufei
Copy link
Author

Oh, my problem is just resolved when i specify max_cores = 1 instead of 4 in the previous function create.RCTD(query, reference, max_cores = 1). Maybe due to the multicores configuration on my cloud posit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant