getLayersCount {mully}R 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)

[Package mully version 2.1.38 Index]