shiba
 All Data Structures Files Functions Variables Macros Pages
Data Fields
phylo Struct Reference

A general phylogeny structure returned from pasring Newick. More...

#include <shiba.h>

Data Fields

int nnodes
 Number of nodes in phylogeny, including 0 or root node.
 
int * parent
 index of parent node
 
int * ndaughter
 Number of daughters for each node.
 
int * depth
 Depth in n nodes from root (root has depth of zero)
 
double * bl
 Branch length of the proximal edge.
 
int ultra
 0/1 flagging an ultrametric tree.
 
double * age
 Age of the node, in units of branch length (valid only for ultrametric trees).
 
char ** taxon
 Name of the node, NULL for missing names.
 

Detailed Description

A general phylogeny structure returned from pasring Newick.

Definition at line 46 of file shiba.h.

Field Documentation

int* phylo::ndaughter

Number of daughters for each node.

Terminals have zero

Definition at line 49 of file shiba.h.

Referenced by main(), parseNewick(), and phyloToLineage().

int phylo::ultra

0/1 flagging an ultrametric tree.

Definition at line 52 of file shiba.h.


The documentation for this struct was generated from the following file: