Phylogenetic trees visualization.
npm install @datagrok/phylo-tree-viewerPhyloTreeViewer is a Datagrok package for phylogenetic trees
visualization.
Now only the Newick tree format is supported.
PhylocanvasGL viewer is a JsViewer wrapper
of PhylocanvasGL javascript library component to use within Datagrok. It exposes the most of the properties
of the Phylocanvas.gl.
!Newick handler and PhylocanvasGlViewer
The viewer expects dataFrame with the tag '.newick'
````
const df: DG.DataFrame = ...;
df.setTag('.');
const treeViewer = df.plot.fromType('PhyloTreeViewer:PhylocanvasGl', {});
File with .nwk, .newick extension will be transformed to a DataFrame of nodes (node, parent, leaf columns)
with PhylocanvasGlViewer docked on the right side of the grid.