Learn R Programming

mully (version 2.1.38)

getLayer: Get the nodes on a layer in a graph

Description

Get the nodes on a layer in a graph

Usage

getLayer(g, nameLayer)

Value

A List of the nodes on the given layer.

Arguments

g

The input graph.

nameLayer

The name of the layer.

Examples

Run this code
g = mully::demo()
getLayer(g,"gene")

Run the code above in your browser using DataLab