Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

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

Open
MohamedRefaat92 opened this issue Mar 30, 2021 · 0 comments

Comments

@MohamedRefaat92
Copy link

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

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

No branches or pull requests

1 participant