Learn R Programming

mully (version 2.1.38)

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

Description

Add a layer or a set of layers to a graph

Usage

addLayer(g, nameLayer)

Value

The graph, with the layers added.

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.

Examples

Run this code
g = mully("MyFirstMully",direct = FALSE)
g = addLayer(g, c("Gene", "Drug", "Disease"))

Run the code above in your browser using DataLab