ReductionWrappers icon indicating copy to clipboard operation
ReductionWrappers copied to clipboard

DoForceAtlas2 error: Evaluation error: Unable to convert R object to Python type.

Open MohamedRefaat92 opened this issue 4 years ago • 0 comments

Hi!

Thanks for making these wrappers available in R! I have a problem running DoForceAtlas2. It spills out a matrix (below showing top 4 rows only) and through an error about converting R objects to Python.

library(Seurat)
pbmc <- ReductionWrappers::DoForceAtlas2(SeuratObject::pbmc_small)

80 x 80 Matrix of class "dgeMatrix"
               ATGCCAGAACGACT CATGGCCTGTGCAT GAACCTGATGAACC TGACTGGATTCTCA
ATGCCAGAACGACT      1.0000000      0.6666667      0.5789474      0.7142857
CATGGCCTGTGCAT      0.6666667      1.0000000      0.6216216      0.5000000
GAACCTGATGAACC      0.5789474      0.6216216      1.0000000      0.5000000
TGACTGGATTCTCA      0.7142857      0.5000000      0.5000000      1.0000000

Error in py_call_impl(callable, dots$args, dots$keywords) :
  Evaluation error: Unable to convert R object to Python type.

I would appreciate it if you could help with that. Best, Mohamed

MohamedRefaat92 avatar Mar 30 '21 19:03 MohamedRefaat92