isLayer: Verify if the layer exists in a graph

View source: R/mully_layer.R

isLayerR 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")

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