R: Collapse Graph By Sum

collapseGraphSum {sccore} | R Documentation

## Collapse Graph By Sum

### Description

Collapse Graph By Sum

### Usage

    collapseGraphSum(graph, groups, normalize = TRUE)

### Arguments

`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)

### Value

collapsed graph

### Examples

    collapsed = collapseGraphPaga(conosGraph, igraph::V(conosGraph), linearize=TRUE, winsorize=FALSE)

[Package sccore version 1.0.1 Index]