Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 985 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 985 Bytes

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.

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 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.