collapseGraphSum | R Documentation |
Collapse Graph By Sum
collapseGraphSum(graph, groups, normalize = TRUE)
graph |
igraph graph object Graph to be collapsed |
groups |
factor on vertices describing cluster assignment (can specify integer vertex ids, or character vertex names which will be matched) |
normalize |
boolean Whether to recalculate edge weight as observed/expected (default=TRUE) |
collapsed graph
collapsed = collapseGraphPaga(conosGraph, igraph::V(conosGraph), linearize=TRUE, winsorize=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.