Skip to main content
Glama

ccc_circle_plot

Visualize cell-cell communication networks using a circular plot to analyze interactions between cell types, leveraging LIANA results for insights without coding.

Instructions

Visualize cell-cell communication network using a circular plot.

Input Schema

NameRequiredDescriptionDefault
edge_alphaNoThe transparency of the edges.
edge_arrow_sizeNoThe size of the arrow.
edge_width_scaleNoThe scale of the edge width.
figure_sizeNoFigure x,y size.
groupbyNoKey to be used for grouping or clustering cells.
inverse_scoreNoWhether to invert the score. If True, the score will be -log10(score).
ligand_complexNoList of ligand complexes to filter the interactions to be plotted.
mask_modeNoThe mode of the mask: 'or' to include source or target, 'and' to include source and target.or
node_alphaNoThe transparency of the nodes.
node_label_alphaNoThe transparency of the node label.
node_label_offsetNoThe offset of the node label.
node_label_sizeNoThe size of the node label.
node_size_scaleNoThe scale of the node size.
orderbyNoIf top_n is not None, order the interactions by this column.
orderby_absoluteNoIf top_n is not None, whether to order by the absolute value of the orderby column.
orderby_ascendingNoIf top_n is not None, specify how to order the interactions.
pivot_modeNoThe mode of the pivot table: 'counts' for number of connections, 'mean' for mean of score values.counts
receptor_complexNoList of receptor complexes to filter the interactions to be plotted.
score_keyNoColumn name of the score in liana_res. If None, the score is inferred from the method.
source_keyNoColumn name of the sender/source cell types in liana_res.source
source_labelsNoList of labels to use as source, the rest are filtered out.
specificity_cutoffNospecificity or pval threshold for filtering results.
target_keyNoColumn name of the receiver/target cell types in liana_res.target
target_labelsNoList of labels to use as target, the rest are filtered out.
top_nNoTop N entities to plot.
uns_keyNoKey in adata.uns that contains the LIANA results.liana_res

Input Schema (JSON Schema)

{ "description": "Input schema for LIANA's circle_plot visualization for cell-cell communication networks.", "properties": { "edge_alpha": { "default": 0.5, "description": "The transparency of the edges.", "title": "Edge Alpha", "type": "number" }, "edge_arrow_size": { "default": 10, "description": "The size of the arrow.", "title": "Edge Arrow Size", "type": "integer" }, "edge_width_scale": { "default": [ 1, 5 ], "description": "The scale of the edge width.", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "number" }, { "type": "number" } ], "title": "Edge Width Scale", "type": "array" }, "figure_size": { "default": [ 5, 5 ], "description": "Figure x,y size.", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "number" }, { "type": "number" } ], "title": "Figure Size", "type": "array" }, "groupby": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Key to be used for grouping or clustering cells.", "title": "Groupby" }, "inverse_score": { "default": false, "description": "Whether to invert the score. If True, the score will be -log10(score).", "title": "Inverse Score", "type": "boolean" }, "ligand_complex": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "List of ligand complexes to filter the interactions to be plotted.", "title": "Ligand Complex" }, "mask_mode": { "default": "or", "description": "The mode of the mask: 'or' to include source or target, 'and' to include source and target.", "enum": [ "and", "or" ], "title": "Mask Mode", "type": "string" }, "node_alpha": { "default": 1, "description": "The transparency of the nodes.", "title": "Node Alpha", "type": "number" }, "node_label_alpha": { "default": 0.7, "description": "The transparency of the node label.", "title": "Node Label Alpha", "type": "number" }, "node_label_offset": { "default": [ 0.1, -0.2 ], "description": "The offset of the node label.", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "number" }, { "type": "number" } ], "title": "Node Label Offset", "type": "array" }, "node_label_size": { "default": 8, "description": "The size of the node label.", "title": "Node Label Size", "type": "integer" }, "node_size_scale": { "default": [ 100, 400 ], "description": "The scale of the node size.", "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "number" }, { "type": "number" } ], "title": "Node Size Scale", "type": "array" }, "orderby": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "If top_n is not None, order the interactions by this column.", "title": "Orderby" }, "orderby_absolute": { "default": false, "description": "If top_n is not None, whether to order by the absolute value of the orderby column.", "title": "Orderby Absolute", "type": "boolean" }, "orderby_ascending": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "If top_n is not None, specify how to order the interactions.", "title": "Orderby Ascending" }, "pivot_mode": { "default": "counts", "description": "The mode of the pivot table: 'counts' for number of connections, 'mean' for mean of score values.", "enum": [ "counts", "mean" ], "title": "Pivot Mode", "type": "string" }, "receptor_complex": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "List of receptor complexes to filter the interactions to be plotted.", "title": "Receptor Complex" }, "score_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Column name of the score in liana_res. If None, the score is inferred from the method.", "title": "Score Key" }, "source_key": { "default": "source", "description": "Column name of the sender/source cell types in liana_res.", "title": "Source Key", "type": "string" }, "source_labels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "List of labels to use as source, the rest are filtered out.", "title": "Source Labels" }, "specificity_cutoff": { "default": 0.05, "description": "specificity or pval threshold for filtering results. ", "title": "Specificity Cutoff", "type": "number" }, "target_key": { "default": "target", "description": "Column name of the receiver/target cell types in liana_res.", "title": "Target Key", "type": "string" }, "target_labels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "List of labels to use as target, the rest are filtered out.", "title": "Target Labels" }, "top_n": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Top N entities to plot.", "title": "Top N" }, "uns_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "liana_res", "description": "Key in adata.uns that contains the LIANA results.", "title": "Uns Key" } }, "title": "CirclePlotModel", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huang-sh/scmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server