Description Usage Arguments Value See Also Examples

View source: R/distinct_edges.R

This function computes the Robinson-Foulds distance (also known as symmetric difference) between two dendrograms. This is the sum of edges in both trees with labels that exist in only one of the two trees (i.e.: the length of distinct_edges).

This function might implement other topological distances in the future.

1 | ```
dist.dendlist(dend, method = c("edgeset"), ...)
``` |

`dend` |
a dendlist |

`method` |
currently only 'edgeset' is implemented. |

`...` |
Ignored. |

A dist object with topological distances between all trees

distinct_edges, dist.topo, dist.multiPhylo, treedist,

1 2 3 4 5 | ```
x <- 1:5 %>% dist %>% hclust %>% as.dendrogram
y <- set(x, "labels", 5:1)
dist.dendlist(dendlist(x1 = x,x2 = x,y1 = y))
dend_diff(x,y)
``` |

dendextend documentation built on Oct. 19, 2018, 9:03 a.m.

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.