UNPKG

phylojs

Version:

A simple typescript library for phylogenetic trees

21 lines (20 loc) 554 B
import { Tree, Node } from '../../'; /** * Read a tree from phyloXML format. If a list of trees is * @param {string} phyloxml * @returns {Tree} */ export declare function readPhyloXML(phyloxml: string): Tree; /** * Reads multiple trees from phyloXML format. * @param {string} phyloxml * @returns {Tree[]} */ export declare function readTreesFromPhyloXML(phyloxml: string): Tree[]; export declare class PhyloXML { private thisNodeID; root: Node; constructor(phylogenyElement: Element); private annotateNode; private walkDom; }