Re: [R-sig-phylo] plot.cophylo: how to change the colour of host-parasite associations

2016-09-12 Thread Juan Antonio Balbuena
Hi No, I didn't have the latest version. Now I have and it works nicely. Thank you very much for your continous effort to develop phytools. The package is amazing. All the best Juan El 12/09/2016 a las 16:40, Liam J. Revell escribió:

Re: [R-sig-phylo] plot.cophylo: how to change the colour of host-parasite associations

2016-09-12 Thread Liam J. Revell
Hi Juan. This update is pretty new so is probably not on CRAN. Do you have the latest version of phytools installed from GitHub? To install from GitHub I recommend using the package devtools: ## in a fresh R session install.packages("devtools") ## install devtools from CRAN library(devtools)

[R-sig-phylo] plot.cophylo: how to change the colour of host-parasite associations

2016-09-12 Thread Juan Antonio Balbuena
Hi I wonder whether there is a way to change the colours of the host-parasite associations in plot.cophylo in phytools. I tried: t1 <- rtree(10) t2 <- rtree(10) obj <- cophylo(t1,t2) plot.cophylo(obj, link.col= "red") But the links appear in black. Accord