getLayersCount: Get the number of layers in a graph

View source: R/mully_layer.R

getLayersCountR Documentation

Get the number of layers in a graph

Description

Get the number of layers in a graph

Usage

getLayersCount(g)

Arguments

g

The input graph.

Value

The count of the layers.

Examples

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

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