isLayer {mully}R Documentation

Verify if the layer exists in a graph

Description

Verify if the layer exists in a graph

Usage

isLayer(g, name)

Arguments

g

The input graph.

name

The name of the layer.

Value

A boolean value.

Examples

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

[Package mully version 2.1.38 Index]