liamrevell / phytools

GNU General Public License v3.0
198 stars 56 forks source link

source of phylogram() in phylo.heatmap #111

Closed ThomWorm closed 2 years ago

ThomWorm commented 2 years ago

I'd like to modify phlo.heatmap to change some aesthetics - when I copy the source code and modify the function, the internal function phylogram() is not found - it seems this is being called from a dependency but I can't seem to find where it is coming from - do you have any suggestion? Thanks

liamrevell commented 2 years ago

It's a phytools function, but not exported in the namespace. Try running phylogram<-phytools:::phylogram before executing your modified code or substituting phylogram for phytools:::phylogram in every place that it's called.

On the other hand, if you have concrete aesthetic improvements you would like me to make to phylo.heatmap, please open another issue & I will see what I can do.