Error in Hierarchical Edge bundling with R

76 views
Skip to first unread message

Mary DC

unread,
Oct 7, 2020, 12:05:22 PM10/7/20
to ggplot2
Hello,

I am Maria, I am learning how to do hierarchical edge bundling with R. I am following the steps posted on:

I simply copy and paste all the code in my R Studio, but an error message appears in the final step:

ggraph(mygraph, layout = 'dendrogram', circular = TRUE) + geom_conn_bundle(data = get_con(from = from, to = to), alpha=0.2, colour="skyblue", tension = 0.9) + geom_node_point(aes(filter = leaf, x = x*1.05, y=y*1.05)) + theme_void() 

Warning message: Removed 2 rows containing missing values (geom_edge_path).

and then, no edges appear:



I have repeated these steps with different databases, but the same error appears. 
Could you help me please? Is there any step that I am missing?

thank you in advance,

Best,

Maria.

Reply all
Reply to author
Forward
0 new messages