Skip to main content

Interface: PhyloNode

Defined in: src/mobjects/biology/newick.ts:28

A node of a parsed phylogenetic tree. A leaf has an empty children.

Properties​

branchLength?​

optional branchLength: number

Defined in: src/mobjects/biology/newick.ts:32

Length of the branch from the parent to this node, if present.


children​

children: PhyloNode[]

Defined in: src/mobjects/biology/newick.ts:34

Child nodes. Empty for a leaf.


name?​

optional name: string

Defined in: src/mobjects/biology/newick.ts:30

Node name (a leaf label or an internal clade name), if present.