# Phylogenetic weights matrix

### Description

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

### Usage

1 2 | ```
phyloWeights(tree, dist.phylo = "patristic", method = "lag-norm", mu = 0,
sigma = 5, dmax = 10, alpha = 1, beta = 1)
``` |

### Arguments

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

### Details

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.

### Value

A square matrix of phylogenetic weights whose sums of rows is 1.

### See Also

`proxTips`

in adephylo.