getIDNode: Get the id of a node

View source: R/mully_node.R

getIDNodeR Documentation

Get the id of a node

Description

Get the id of a node

Usage

getIDNode(g, nameNode)

Arguments

g

The input graph

nameNode

The name of the node

Value

The id of the specified node as an integer

Examples

g=mully::demo()
getIDNode(g,"g1")

frankkramer-lab/mully documentation built on Feb. 25, 2023, 2:40 a.m.