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.

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