Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

collapseGraphSum

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)

sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.