getLayer: Get the nodes on a layer in a graph

View source: R/mully_layer.R

getLayerR Documentation

Get the nodes on a layer in a graph

Description

Get the nodes on a layer in a graph

Usage

getLayer(g, nameLayer)

Arguments

g

The input graph.

nameLayer

The name of the layer.

Value

A List of the nodes on the given layer.

Examples

g = mully::demo()
getLayer(g,"gene")

mully documentation built on March 7, 2023, 8:10 p.m.