Documentation ¶
Overview ¶
Package phylotree implements a phylogenetic tree with TMRCA estimates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clade ¶
type Clade struct { // Text is the text line used in the text representation of the tree. Text string TMRCA float64 // SNP is the name of the first SNP that characterizes this clade. SNP string Subclades []Clade Samples []Sample }
Clade represents a phylogenetic clade.
func NewFromFile ¶
NewFromFile parses a text file to create a tree. The return value Clade is the root node of the tree.
func (*Clade) AddSubclade ¶
Click to show internal directories.
Click to hide internal directories.