@datagrok/phylo-tree-viewer
v1.2.12
Published
Phylogenetic trees visualization.
Downloads
4
Keywords
Readme
PhyloTreeViewer
PhyloTreeViewer is a Datagrok package for phylogenetic trees visualization.
Notations
Now only the Newick tree format is supported.
Viewers
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.
The viewer expects dataFrame with the tag '.newick'
const df: DG.DataFrame = ...;
df.setTag('.');
const treeViewer = df.plot.fromType('PhyloTreeViewer:PhylocanvasGl', {});
File handlers
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.