| Depth_Calculator | R Documentation |
This function is built into the Placement_Results_Output function which generates serovar placement results data. This function calculates the maximum depth, or the distance from the MRCA to the farthest hit in the clade, and also the sum of branch lengths, or the total sum of branch lengths from each hit to the MRCA.
Depth_Calculator(Serovar, Dists, Serovar_Names)
Serovar |
A character string containing a serovar name. |
Dists |
A subset of the table of pairwise distances between all pairs of nodes in the phylogenetic tree. Calculated from dist.nodes (ape). This subset of pairwise distances should contain specifically the distances between the MRCA and its descendants. |
Serovar_Names |
A character vector of all serovar names in the set of resulting hits. |
A numeric vector containing the maximum depth and sum of branch lengths measured in pairwise distance.
Missing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.