library(gplots)
library(circular)
data(va_mean)
data(estimated_ancestral_va)
data(spcolmap)
nf <- layout(matrix(c(1,1,1,2),1, 4,byrow=TRUE))
layout.show(nf)
cladeII <- spcolmap$species[spcolmap$host %in% "L.subviridis"]
shapeEvo(va_mean, estimated_ancestral_va, col.lab="dodgerblue",
clade=cladeII, exfac=2, tit="Ventral anchors")
#Some journals want the title to be left-adjusted, so set tit="" and then:
#title("a)", adj=0)
#Add a nice color bar
par(mar=c(5,6,4,2))
colorBar(redgreen(101),min=0, max=1, tit="p-value")
Run the code above in your browser using DataLab