py4cytoscape.annotations.ungroup_annotation

ungroup_annotation(names=None, network=None, base_url='http://127.0.0.1:1234/v1')[source]

Ungroup Annotation group

Ungroup annotation group from the network view in Cytoscape

Parameters
  • names (UUID or str or list) – Single UUID or str, or list of UUIDs or str

  • network (SUID or str or None) – Name or SUID of the network. Default is the “current” network active in Cytoscape.

  • base_url (str) – Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of py4cytoscape.

Returns

None

Raises
  • CyError – if invalid name list

  • requests.exceptions.HTTPError – if can’t connect to Cytoscape or Cytoscape returns an error

Examples

>>> ungroup_annotation(['016a4af1-69bc-4b99-8183-d6f118847f96', '016a4af1-69bc-4b99-8183-d6f118847f97'])
>>> ungroup_annotation('016a4af1-69bc-4b99-8183-d6f118847f96', network='galFiltered.sif')
>>> ungroup_annotation('016a4af1-69bc-4b99-8183-d6f118847f96', network=59945)