Closed eblchen closed 6 months ago
Hi, sorry for missing this.
Please check out the rpy2 tutorial especially the part about the “global environment”: https://rpy2.github.io/doc/v3.5.x/html/introduction.html#the-r-instance
cell_line_sce
is a Python variable that R doesn’t know about. You need to either run cell_line_sce <- readRDS(...)
in R or use robjects.globalenv["cell_line_sce"] = ...
in Python to move the object over.
This may be something obvious I'm missing, but I can't seem to get the local convertor working: It can't seem to find the SCE data loaded into Python.
I had been using the method outlines in the Usage from Jupyter, but this also seems to be having issues:
Also I have tried with different SCE objects, including one that I had been able to convert to AnnData in the past, and I still get the same errors.