Groups

Functions for working with GROUPS in Cytoscape.

Add/Remove Groups and Nodes

add_to_group(group_name[, nodes, …])

Add the specified nodes and edges to the specified group.

create_group(group_name[, nodes, …])

Create a group from the specified nodes.

create_group_by_column(group_name[, column, …])

Create a group of nodes defined by a column value.

delete_group([groups, groups_by_col, …])

Delete one or more groups, while leaving member nodes intact.

remove_from_group(group_name[, nodes, …])

Remove the specified nodes and edges from the specified group.

Existing Groups

collapse_group([groups, network, base_url])

Replace the representation of all of the nodes and edges in a group with a single node.

expand_group([groups, network, base_url])

Replaces the group node with member nodes for a set of groups.

get_group_info(group[, network, base_url])

Retrieve information about a group by name or identifier.

list_groups([network, base_url])

Retrieve a list of all group SUIDs in a network.