conos error
0
0
Entering edit mode
10 months ago
Andy ▴ 120

Hello everyone,

I am running the following code to clean my batch effect using conos method.

resolution = 1
con$findCommunities(method=leiden.community, resolution=resolution)

And, the error message I received:

Error in find_partition(graph, igraph::E(graph)$weight, resolution, n.iterations) : 
 REAL() can only be applied to a 'numeric', not a 'NULL'

I checked online and found that for the leidenAlg package, version 1.0.5, a similar problem was reported. Therefore, I upgraded it to the latest version. However, the issue still persists. Additionally, I installed the igraph package in my R environment, so I don't believe that is the problem. I hope you guys could offer some hits for me to solve issue.

Thanks
Andy

conos batch-effect • 308 views
ADD COMMENT
0
Entering edit mode

UPDATE: the problem solved. Indeed upgrade package is the solution to solve the issue. But I need to exit current R environment and re-enter.

ADD REPLY

Login before adding your answer.

Traffic: 1838 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6