addLayer: Add a layer or a set of layers to a graph

Description Usage Arguments Value Examples

View source: R/mully_layer.R

Description

Add a layer or a set of layers to a graph

Usage

1
addLayer(g, nameLayer)

Arguments

g

The input graph.

nameLayer

The name or the list of the names of the layers to be added. The layer names must be unique.

Value

The graph, with the layers added.

Examples

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

mully documentation built on Oct. 14, 2021, 5:06 p.m.