Description Usage Arguments Details Value Author(s) Examples
Analyze a set of phylogenetic trees and attempt to identify trees which are significantly discordant with other trees in the sample (outlier trees).
1 2 |
trees |
multiPhylo object |
k |
IQR multiplier for outlier detection |
distance |
Select "geodesic" or "dissimilarity" distance calculation method |
outgroup |
if a character, reroot all trees with this species as outgroup. The geodesic distance method requires rooted trees. |
topo.only |
set all branch lengths to 1 before analyzing? |
bw |
see Details |
greedy |
greedy outlier detection? |
... |
additional arguments for distance calculation function, see details |
If bw is a single number, it will be used as a single constant bandwidth. It can also be a vector, in which case it will be used as variable bandwidths for each tree, repectively. Finally, if it is a list (default), the list will be passed as arguments to the bw.nn adaptive bandwith function.
... Is passed to either distory::dist.multiPhylo
or
dist.diss
, as appropriate. See the help for these functions
for more details.
a kdetrees object; list(density,outliers)
Grady Weyenberg
1 2 3 4 5 | kdeobj <- kdetrees(apicomplexa, outgroup="Tt")
print(kdeobj)
kdeobj$outliers
kdetrees(apicomplexa, k=2.0, distance="dissimilarity",topo.only=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.