grdspcht / ggarg

ggarg: Visualisation of tree-based phylogenetic networks
Other
0 stars 0 forks source link

geom_arg options #4

Closed arthurKocher closed 3 months ago

arthurKocher commented 5 months ago

Example code:

retnet = read.enewick2("retnet.nwk")
ggtree(retnet) + theme_tree() + geom_arg()
ggtree(retnet) + theme_tree() + geom_arg(layout = "slanted") #doesn't work
ggtree(retnet) + theme_tree() + geom_arg(retcol = 'blue') #doesn't work
ggtree(retnet) + theme_tree() + geom_arg(arrows = T) # arrowheads have a weird aspect
ggtree(retnet) + theme_tree() + geom_arg(retlinetype = 3)
ggtree(retnet) + theme_tree() + geom_arg(rettype = 'snake') #doesn't work
grdspcht commented 5 months ago

Removed layout options for now and fixed the retcol issue. https://github.com/grdspcht/ggarg/commit/6120002dcd8b3092a75312a42abefe707d609744

Can't replicate the problem with rettype argument, usingrettype = "snake" or "straight" works as intended for me