Create a subnetwork object from a vector of node names

.make_subnetwork(sc, nodes)

Arguments

sc

A score context.

nodes

Character vector of node names.

Value

A list with elements nodes, zsum and score.