This function can be used to compute a phylogenetic weights matrix with different methods.

1 2 | ```
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`

":

*w = 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.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.