combineGraph: Generate combined graph

View source: R/CellWalkerFunctions.R

combineGraphR Documentation

Generate combined graph

Description

combineGraph() combines weighted cell-to-label edges (dimensions c-by-l) with cell-to-cell edges (dimensions c-by-c) into a single large graph

Usage

combineGraph(labelEdges, cellEdges, weight = 1)

Arguments

labelEdges

matrix with dimensions c-by-l

cellEdges

matrix with dimensions c-by-c

weight

numeric indicating label edge weight

Value

combined matrix with dimensions (c+l)-by-(c+l)

Examples

data("SampleCellWalkRData")
combineGraph(SampleCellWalkRData$labelEdges, SampleCellWalkRData$cellEdges)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.