Filters

Functions for working with FILTERS for the selection of nodes and edges in networks, including operations to import and export filters. In the Cytoscape user interface, filters are managed in the Select tab of the Control Panel.

Existing Filters

apply_filter([filter_name, hide, network, …])

Run an existing filter by supplying the filter name.

export_filters([filename, base_url, …])

Saves filters to file in JSON format.

get_filter_list([base_url])

Retrieve list of named filters in current session

import_filters(filename[, base_url])

Loads filters from a file in JSON format.

New Filters

create_column_filter(filter_name, column, …)

Create Column Filter.

create_composite_filter(filter_name, filter_list)

Combine filters to control node and edge selection based on previously created filters.

create_degree_filter(filter_name, criterion)

Create Degree Filter.