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

frankkramer-lab/mully documentation built on Feb. 25, 2023, 2:40 a.m.