Fig 1
Fig 2
Fig 3
Fig 4
I encountered a problem when running monocle2. When I tried to open the file produced by the newCellDataSet function of the monocle package (see the Fig 1), an error occurred (see the Fig 2). I clicked on mycds in the Global Environment and found that almost all the contents of the mycds file were empty (see the Fig 3). I have tried many methods, including using upgrade_graph("mycds") (the result of this function is: Error in upgrade_graph(mycds): Not all inherits(graph, "igraph") are TRUE) (see the Fig 4). Switching to other versions of monocle did not solve the error either. My current R version is 4.5.1, the monocle package version is 2.36.0, and the igraph package version is 2.1.4. Has anyone encountered this problem before? How can I solve it?