dmcable / spacexr

Spatial-eXpression-R: Cell type identification (including cell type mixtures) and cell type-specific differential expression for spatial transcriptomics
GNU General Public License v3.0
319 stars 73 forks source link

could not find function "solveIRWLS.weights #200

Closed MingyuYang-Yale closed 7 months ago

MingyuYang-Yale commented 7 months ago

Hi Dylan,

In this vignette: https://raw.githack.com/dmcable/spacexr/master/vignettes/visium_full_regions.html

when I try to run this line: myRCTD <- run.RCTD(myRCTD, doublet_mode = 'full')

I got error message:

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

Could you please provide some guidance or assistance on how to address this error? Thanks.

MingyuYang-Yale commented 7 months ago

I solved it by changing the max_cores to 1.