getSubMatrixForSubgraph: Get the submatrix corresponding to a subgraph

View source: R/graphs_helpers.R

getSubMatrixForSubgraphR Documentation

Get the submatrix corresponding to a subgraph

Description

Both the graph and subgraph need to have persistent IDs If graph==NULL it is assumed to have pIDs 1, 2, ...

Usage

getSubMatrixForSubgraph(fullMatrix, subgraph, graph = NULL)

graphicalExtremes documentation built on Nov. 14, 2023, 1:07 a.m.