Utils

Utility functions useful across multiple modules.

Translation to/from SUIDs

edge_name_to_edge_suid(edge_names[, …])

Translate one edge name or a list of edge names into a list of SUIDs.

edge_suid_to_edge_name(edge_suids[, …])

Translate one edge SUID or a list of edge SUIDs into a list of names.

node_name_to_node_suid(node_names[, …])

Translate one node name or a list of node names into a list of SUIDs.

node_suid_to_node_name(node_suids[, …])

Translate one node SUID or a list of node SUIDs into a list of names.

Miscellaneous

build_url([base_url, command])

Append a command (if it exists) to a base URL.

cyPalette([name])

Supply a set of colors from Brewer palettes (without requiring rColorBrewer).

table_column_exists(table_column, table[, …])

Checks to see if a particular column name exists in the specific table.

verify_supported_versions([cyrest, …])

Throws exception if min supported versions of api and cytoscape are not running.