combineNodes {rBiopaxParser} | R Documentation |
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.
combineNodes(nodes, graph, newName)
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. |
Returns a graph with specified nodes removed.
Frank Kramer
# load data and retrieve wnt pathway data(biopaxexample)