UNPKG

phylojs

Version:

A simple typescript library for phylogenetic trees

20 lines (19 loc) 500 B
import { Tree, Node } from '../../'; /** * Reads NeXML string and returns tree. * @param {string} nexml * @returns {Tree} */ export declare function readNeXML(nexml: string): Tree; /** * Reads NeXML strings and returns tree array. * @param {string} nexml * @returns {Tree[]} */ export declare function readTreesFromNeXML(nexml: string): Tree[]; export declare class NeXML { private thisNodeID; root: Node | undefined; constructor(treeElement: Element); private processTree; }