combineNodes: This function gracefully combines nodes of a regulatory graph.
Description
This gracefully combines nodes from a regulatory graph.
This is basically a wrapper for graph::combineNodes(nodes,
graph, newName, collapseFunction=max). If there are
duplicated edges for the nodes, the maximum edgeweight will
be used for the new connection.
Usage
combineNodes(nodes, graph, newName)
Arguments
nodes
vector of node names specifiying which nodes
to combine.
graph
graphNEL
newName
string. Name of the newly created node
that will combine the specified nodes.