Sergei Pond
Sergei Pond
Dear @santule, Yes, you are correct. During the development of v.1.0 of `phylotree.js` not all of the features from the v.0.x version were properly migrated. This seems to be the...
Resolved via https://github.com/veg/phylotree.js/commit/b5d193f2331aa262c69c7a48a821d044d35ffef1
Dear @rambaut, A preferred solution here is probably to add a `data-node-id` (or something like that) attribute to each node, which solves the issue of "addressability", without the undesirable side-effects...
Dear @santule, Collapsed clade representation via "clouds" is currently hardcoded; the original idea was to depict subtree structure which is lost by using triangles for everything. You present an interesting...
Dear @smoretti, Should definitely be possible. Can you paste in an example tree? `phylotree` records some Newick attributes, but they are not acted on by default. Best, Sergei
Dear @smoretti, Thanks! I will write a simple example for you on how to extract NHX style annotations in a bit. Which version of `phylotree` are you working with? Best,...
Dear @smoretti, Take a look at https://github.com/veg/phylotree.js/tree/master/examples/nhx This example parses the attributes, extracts PVALs and colors branches based on those p-values. Best, Sergei
Dear @smoretti, See Issue #253 for pop-over functionality from NHX. You can color nodes using a similar callback on nodes like the example uses for edges. Did you try following...
Dear @smoretti, You don't need to run a separate web-server; you can just include a `js` and a `css`, or use `require` etc (depending on your configuration). I am tagging...
Dear @smoretti, What version of `d3` are you including? Best, Sergei