combineMultiLabelGraph: Generate combined graph with list of label edges

View source: R/CellWalkerFunctions.R

combineMultiLabelGraphR Documentation

Generate combined graph with list of label edges

Description

combineMultiLabelGraph() combines list of weighted label edges with cell edges into a single graph

Usage

combineMultiLabelGraph(labelEdgesList, cellEdges, weights)

Arguments

labelEdgesList

list of matrices each with dimensions c-by-l

cellEdges

matrix with dimensions c-by-c

weights

numeric vector indicating label edge weight for each label edge in list

Value

combined matrix with dimensions (c+L)-by-(c+L) where L is the sum of l's

Examples

data("SampleCellWalkRData")
labelEdgesList <- list(SampleCellWalkRData$labelEdges)
combineMultiLabelGraph(labelEdgesList, SampleCellWalkRData$cellEdges)


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