Description Usage Arguments Value Source See Also Examples

View source: R/distinct_edges.R

Finds the edges present in the first tree but not in the second

1 | ```
distinct_edges(dend, dend2, ...)
``` |

`dend` |
a dendrogram to find unique edges in |

`dend2` |
a dendrogram to compare with |

`...` |
Ignored. |

A numeric vector of edge ids for the first tree (dend) that are not present in the second tree (dend2).

A dendrogram implementation for distinct.edges from the distory package

distinct_edges, highlight_distinct_edges, dist.dendlist, tanglegram distinct.edges

1 2 3 4 5 6 | ```
x <- 1:5 %>% dist %>% hclust %>% as.dendrogram
y <- set(x, "labels", 5:1)
distinct_edges(x, y)
distinct_edges(y, x)
dend_diff(x, y)
# tanglegram(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.