R: Calculate evolutionary distinctness for part of tree

calcPrtFrPrp {treeman} | R Documentation

## Calculate evolutionary distinctness for part of tree

### Description

Returns the evolutationary distinctness of ids using the fair proportion metric.

### Usage

    calcPrtFrPrp(tree, tids, ignr = NULL, progress = "none")

### Arguments

`tree` | `TreeMan` object
`tids` | tip IDs
`ignr` | tips to ignore in calculation
`progress` | name of the progress bar to use, see `create_progress_bar`

### Details

Extension of `calcFrPrp()` but with ignore argument. Use `ignr` to ignore certain tips from calculation. For example, if any of tips are extinct you may wish to ignore these.

### References

Isaac, N.J.B., Turvey, S.T., Collen, B., Waterman, C. and Baillie, J.E.M. (2007). Mammals on the EDGE: conservation priorities based on threat and phylogeny. PLoS ONE, 2, e296.

### See Also

`calcFrPrp` https://github.com/DomBennett/treeman/wiki/calc-methods

### Examples

    library(treeman)
    tree <- randTree(10)
    calcPrtFrPrp(tree, c('t1','t3'), ignr='t2')

[Package treeman version 1.1.4 Index]