This function takes as single argument an object (phy), checks its elements, and prints a diagnostic. All problems are printed with a label: FATAL (will likely cause an error or a crash) or MODERATE (may cause some problems).
This function is mainly intended for developers creating
"phylo" objects from scratch.
an object of class
1 2 3 4
Starting checking the validity of tr... Found number of tips: n = 3 Found number of nodes: m = 2 Done. Starting checking the validity of tr... Found number of tips: n = 3 Found number of nodes: m = 2 MODERATE: the matrix 'edge' is not stored as integers FATAL: some elements in 'edge' are negative or zero FATAL: all nodes should appear at least twice in 'edge' Done.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.