1.2.11 • Published 2 months ago

@datagrok/phylo-tree-viewer v1.2.11

Weekly downloads
-
License
-
Repository
github
Last release
2 months ago

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.