| 1 |
|
| 2 |
The \eslmod{tree} module implements an object for representing |
| 3 |
phylogenetic trees (\ccode{ESL\_TREE}). It also implements four of the |
| 4 |
most basic distance-based methods for tree inference and clustering |
| 5 |
algorithms (UPGMA, WPGMA, single linkage clustering, and complete |
| 6 |
linkage clustering). |
| 7 |
|
| 8 |
\begin{table}[hbp] |
| 9 |
\begin{center} |
| 10 |
{\small |
| 11 |
\begin{tabular}{|ll|}\hline |
| 12 |
\apisubhead{the \ccode{ESL\_TREE} object}\\ |
| 13 |
\hyperlink{func:esl_tree_Create()}{\ccode{esl\_tree\_Create()}} & Constructor.\\ |
| 14 |
\hyperlink{func:esl_tree_Destroy()}{\ccode{esl\_tree\_Destroy()}} & Destructor.\\ |
| 15 |
\apisubhead{simple tree inference/clustering algorithms}\\ |
| 16 |
\hyperlink{func:esl_tree_UPGMA()}{\ccode{esl\_tree\_UPGMA()}} & Infer a tree by UPGMA.\\ |
| 17 |
\hyperlink{func:esl_tree_WPGMA()}{\ccode{esl\_tree\_WPGMA()}} & Infer a tree by WPGMA.\\ |
| 18 |
\hyperlink{func:esl_tree_SingleLinkage()}{\ccode{esl\_tree\_SingleLinkage()}} & Infer a tree by single-linkage clustering.\\ |
| 19 |
\hyperlink{func:esl_tree_CompleteLinkage()}{\ccode{esl\_tree\_CompleteLinkage()}} & Infer a tree by complete-linkage clustering.\\ |
| 20 |
\hline |
| 21 |
\end{tabular} |
| 22 |
} |
| 23 |
\end{center} |
| 24 |
\caption{The \eslmod{tree} API. Requires \eslmod{easel}, \eslmod{dmatrix}.} |
| 25 |
\label{tbl:tree_api} |
| 26 |
\end{table} |
| 27 |
|
| 28 |
|
| 29 |
\subsection{Example of using the tree API} |
| 30 |
|
| 31 |
\input{cexcerpts/tree_example} |