Learn R Programming

CausalR (version 1.4.3)

GetNodeID: get CCG node ID

Description

Returns the CCG node ID from a node name or a vector of node names and a given direction of regulation.

Usage

GetNodeID(network, nodename, direction = 1)

Arguments

network
a CCG object
nodename
the node name, or names, for which the ID is required
direction
the direction of regulation of the required node or nodes. Maybe +1 (default) or -1.

Value

a scalar or vector containing the node ID or IDs requested