View source: R/iknn_selection.R
| compute.stability.metrics | R Documentation |
Computes stability diagnostics across the pruned IkNN graphs produced by
create.iknn.graphs(). Metrics include edit distances between consecutive
graphs, graph-summary Jensen-Shannon divergence, edge-count diagnostics,
local minima, and smoothed trend fits for plotting.
compute.stability.metrics(
graphs,
graph.type = c("geom", "isize"),
summary = c("degree_distribution", "edge_weight_distribution",
"component_size_distribution", "neighborhood_label_distribution"),
divergence = c("js"),
labels = NULL,
summary.args = list()
)
graphs |
An object of class |
graph.type |
Character string, either |
summary |
Graph-summary family used for the divergence curve. |
divergence |
Divergence used for consecutive-graph comparison.
Currently only |
labels |
Optional vertex-label vector used when
|
summary.args |
Optional named list forwarded to
|
An object of class "iknn_stability_metrics".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.