Re: [R-sig-phylo] color edges of internal nodes with a single child
This is fixed in ape 5.0-3 just uploaded one ape's site: http://ape-package.ird.fr/ape_installation.html#versions If you don't want to (or cannot) re-install ape, you can get the file plot.phylo.R from the source package and source() it into R -- not just the function phylogramm.plot: because of the namespace it is better to source plot.phylo() at the same time. Best, Emmanuel Le 23/12/2017 à 22:48, Emmanuel Paradis a écrit : Hi Walter, That shouldn't be too hard to fix. This happens, apparenly, only if type="phylogram" -- which is the default. This seems to work correctly if type="c" (and if there are branch lengths). I'll update you when it's fixed. Best, Emmanuel Le 20/12/2017 à 22:17, Walter, Mathias a écrit : Hi! I tried using the edge.color parameter with a vector of colors of plot.phylo on a tree having several internal single nodes (which have just one child node). Unfortunately, it reports an error that A/B needs a value. I tracked it down to the function phylogramm.plot which expects nodes having at least two children. Is there an easy solution for this, except using collapse.single? -- Kind regards, Mathias [[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/
Re: [R-sig-phylo] color edges of internal nodes with a single child
Hi Walter, That shouldn't be too hard to fix. This happens, apparenly, only if type="phylogram" -- which is the default. This seems to work correctly if type="c" (and if there are branch lengths). I'll update you when it's fixed. Best, Emmanuel Le 20/12/2017 à 22:17, Walter, Mathias a écrit : Hi! I tried using the edge.color parameter with a vector of colors of plot.phylo on a tree having several internal single nodes (which have just one child node). Unfortunately, it reports an error that A/B needs a value. I tracked it down to the function phylogramm.plot which expects nodes having at least two children. Is there an easy solution for this, except using collapse.single? -- Kind regards, Mathias [[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/
[R-sig-phylo] color edges of internal nodes with a single child
Hi! I tried using the edge.color parameter with a vector of colors of plot.phylo on a tree having several internal single nodes (which have just one child node). Unfortunately, it reports an error that A/B needs a value. I tracked it down to the function phylogramm.plot which expects nodes having at least two children. Is there an easy solution for this, except using collapse.single? -- Kind regards, Mathias [[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/