View source: R/read_merge_info.R
make_merge_graph | R Documentation |
make_merge_graph
generates a graph representation of all
agglomeration merges.
merge_graph_components
uses the full merge graph to find
each connected subgraph corresponding to isolated merge groups.
make_merge_graph(x, n = NA)
merge_graph_components(g, n = NA)
x |
The |
n |
For testing purposes, the number of rows of merge information to process - the default processes all rows. |
g |
Either a graph generated by |
make_merge_graph
returns an igraph
object,
merge_graph_components
returns a list with elements describing the
mapping between segment ids and merge groups.
## Not run:
g=make_merge_graph(mergeinfo)
gc=merge_graph_components(g)
str(gc)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.