toCytoscape {KEGGlincs} | R Documentation |
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.
toCytoscape(igraphobj) mapAttributes(attr.names, all.attr, i)
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 |
A JSON object to be sent to Cytoscape