Ah, not really. I am thinking more of an actual matrix, where matrix entries 
represent support values, and are colored proportionally. Ie - something like:

image(t(matrix(data=c(95, 60,75,85), nrow=2, ncol=2)), col=heat.colors(4), 
yaxt='n', xaxt='n')

Jake


> On Aug 29, 2018, at 8:06 PM, Liam J. Revell <liam.rev...@umb.edu> wrote:
> 
> Hi Jake. Can you draw a clearer picture of what you'd like to do? Would it 
> look something like the error bars that phytools can compute for contMap 
> object? (e.g., 
> http://blog.phytools.org/2017/02/function-to-add-error-bars-to-contmap.html)
> 
> All the best, Liam
> 
> Liam J. Revell
> Associate Professor, University of Massachusetts Boston
> Profesor Asistente, Universidad Católica de la Ssma Concepción
> web: http://faculty.umb.edu/liam.revell/, http://www.phytools.org
> 
> On 8/29/2018 7:12 PM, Jacob Berv wrote:
>> Dear R-sig-phylo,
>> Does there exist a function to plot heatmaps at internal nodes of a tree? 
>> For example, to illustrate support values from different phylogenetic 
>> analyses — ie given a set of 3x3 matricies of support values for particular 
>> nodes.
>> It seems like there may be a partial (and definitely workable) solution 
>> here, using ggtree— 
>> https://rgriff23.github.io/2017/05/11/primate-phylogeny-ggtree.html 
>> <https://rgriff23.github.io/2017/05/11/primate-phylogeny-ggtree.html>, if 
>> such heatmaps are saved as raster images (about 1/2 way down). This may be 
>> the easiest solution, but it would be preferable to keep everything in 
>> vector format and all in R.
>> I guess I could do this by calling image() for the individual heatmaps and 
>> then just linking them up to nodes of interest in illustrator (but that 
>> feels like cheating).
>> Jake
>>      [[alternative HTML version deleted]]
>> _______________________________________________
>> R-sig-phylo mailing list - R-sig-phylo@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
>> Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to