toCytoscape {KEGGlincs} | R Documentation

## cyREST utility functions

### Description

A subset of the R utility functions available from/defined by cyREST. The function mapAttributes is called from within toCytoscape which, in turn, is called from within cyto_vis.

### Usage

    toCytoscape(igraphobj)

    mapAttributes(attr.names, all.attr, i)

### Arguments

`igraphobj` | A graph object compatible for use with the package igraph
`attr.names` | Attribute names of an igraph object
`all.attr` | The attribute value if an igraph object
`i` | The index for a given igraph object

### Value

A JSON object to be sent to Cytoscape

[Package KEGGlincs version 1.20.0 Index]