Description Usage Arguments Value Examples
View source: R/Compute.Probabilistic.SpeciesTree.Distances.R
This function returns a vector of length (3): representing the "Hellinger", "Kullback_Leibler", and "Jensen_Shannon" distances between to trees
1 2 | Compute.Probabilistic.SpeciesTree.Distances(handle.SpeciesTree.Model1,
handle.SpeciesTree.Model2, string.PathParentDir, string.PathHybridCoal)
|
handle.SpeciesTree.Model1 |
Species Tree Model 1 |
handle.SpeciesTree.Model2 |
Species Tree Model 2 |
string.PathParentDir |
Path to a parent directory that will be used for subdirectories |
string.PathHybridCoal |
Path to HYBRID-COAL executable |
vector.Probabilistic.SpeciesTree.Distances Vector containing the three PSTD measures
1 2 3 4 5 6 7 8 9 10 11 | string.SpeciesTree.1a <- "(((A:1,B:1):1,C:2):1,D:3);"
handle.SpeciesTree.1a <- read.tree(text = string.SpeciesTree.1a)
string.SpeciesTree.1b <- "(((A:1,C:1):1,B:2):1,D:3);"
handle.SpeciesTree.1b <- read.tree(text = string.SpeciesTree.1b)
Compute.Probabilistic.SpeciesTree.Distances(handle.SpeciesTree.Model1 = handle.SpeciesTree.1a,
handle.SpeciesTree.Model2 = handle.SpeciesTree.1b,
string.PathParentDir = '~/Desktop/EXAMPLE/SmallTree/',
string.PathHybridCoal = '/Applications/hybrid-coal-v0.2.1-beta/hybrid-coal')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.