STRING: Perform network clustering
string_network_clusteringClusters proteins in a STRING interaction network to identify functional modules, returning image and interactive URLs plus detailed cluster information.
Instructions
Performs network clustering on a STRING interaction network and returns a network image URL, an interactive STRING network URL, and details about each detected cluster.
Provide a table with each detected cluster’s color, STRING-derived functional description, and any returned features that distinguish it from the others.
Use the same parameters as in the network creation step to ensure consistency. If the network already contains disconnected subgraphs, the resulting number of clusters may differ from the requested value.
Inter-cluster edges are faded by default. Use inter_cluster_edge_visibility to select a different display style.
Notes:
For small queries (≤5 proteins), the
required_scoreparameter is automatically lowered to 0.If only a single cluster is produced, try increasing
required_score, adjusting the clustering parameter, or switching to a physical network for a sparser interaction map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| species | No | NCBI/STRING taxonomy ID (e.g. 9606 for human, or STRG0AXXXXX for uploaded genomes). | |
| proteins | Yes | One or more protein identifiers (optionally with values). Separate entries with newline (%0d). Numeric values (e.g. expression data) can be provided after identifiers. | |
| network_type | No | Omit for the default functional network. Its typed view can include physical and directed regulatory attributes when STRING returns them; inspect `physical` and `regulatory.directions` before claiming those edge types. Set physical for binding, complex, or co-complex questions. Set regulatory for directed regulatory relationships between proteins. | |
| extend_network | No | Add specified number of additional nodes to the network based on their interaction scores. Default: 0, or 10 for single-protein queries. | |
| network_flavor | No | Defaults are typed for functional networks, evidence for physical networks, and confidence for regulatory networks. Typed returns functional pairs with any physical and directed regulatory attributes that STRING reports; it does not make every pair physical or regulatory. Typed is available only for functional networks. Set evidence or confidence only when the user requests that edge display style. | |
| required_score | No | Minimum interaction confidence score. Omit for STRING default filtering. Set only when a threshold is requested or a broader/narrower threshold is needed. | |
| center_node_labels | No | Center protein labels on nodes. Set only if the user asks to center labels. | |
| clustering_algorithm | No | Leiden identifies natural communities based on network connectivity and is the default. MCL identifies densely connected subnetworks based on connectivity flow. kmeans partitions proteins into a fixed number of clusters. | |
| clustering_parameter | No | Controls clustering granularity. For Leiden: resolution parameter 0.1-10.0, default 1.0; higher values produce more, smaller clusters. For MCL: inflation parameter 1.0-10.0, default 3.0. For kmeans: number of clusters, integer >=2, default 3. | |
| hide_disconnected_nodes | No | Hide unconnected nodes. Set only if the user asks to hide disconnected or unconnected proteins. | |
| inter_cluster_edge_visibility | No | How to display edges between clusters: faded, dotted, solid, or noshow. Defaults to faded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||