Documentation
¶
Overview ¶
Package newick handles reading and writing Newick-formatted trees.
This package uses the format described in: https://en.wikipedia.org/wiki/Newick_format
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Name string // Node name. Can be empty. Distance float64 // Distance from parent. 0 is treated as none. Children []*Node // Child nodes. Can be nil. }
A Node is a single node in a tree, along with the subtree that is under it.
Click to show internal directories.
Click to hide internal directories.