phyloWeights | R Documentation |
This function can be used to compute a phylogenetic weights matrix with different methods.
phyloWeights(
tree,
dist.phylo = "patristic",
method = "lag-norm",
mu = 0,
sigma = 5,
dmax = 10,
alpha = 1,
beta = 1
)
tree |
a |
dist.phylo |
a character string specifying the method used to compute phylogenetic distances.
Available distances are " |
method |
a method to compute phylogenetic weights from phylogenetic distances.
Available methods are " |
mu |
a numeric value giving the mean of the distribution if |
sigma |
a numeric value giving the standard deviation
of the distribution if |
dmax |
the maximum phylogenetic distance to use to delineate clades. |
alpha |
a numeric value giving the exponent to use if |
beta |
a numeric value giving the factor to use if |
Method "inverse
":
\frac{1}{d^{\alpha}}
The phylogenetic distance matrix is computed internally
using the function distTips
from the package adephylo.
See distTips
for details about the methods.
A square matrix of phylogenetic weights whose sums of rows is 1.
proxTips
in adephylo.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.