Learn R Programming

mully (version 2.1.38)

getLayersCount: Get the number of layers in a graph

Description

Get the number of layers in a graph

Usage

getLayersCount(g)

Value

The count of the layers.

Arguments

g

The input graph.

Examples

Run this code
g = mully("MyFirstMully",direct = FALSE)
g = addLayer(g, c("Gene", "Drug", "Disease"))
getLayersCount(g)

Run the code above in your browser using DataLab