Skip to main content
Glama

scale

Normalize single-cell RNA sequencing data by scaling to unit variance and zero mean. Adjust parameters like zero-centering, clipping, and layer selection for efficient preprocessing.

Instructions

Scale data to unit variance and zero mean

Input Schema

NameRequiredDescriptionDefault
layerNoIf provided, which element of layers to scale.
mask_obsNoBoolean mask or string referring to obs column for subsetting observations.
max_valueNoClip (truncate) to this value after scaling. If None, do not clip.
obsmNoIf provided, which element of obsm to scale.
zero_centerNoIf False, omit zero-centering variables to handle sparse input efficiently.

Input Schema (JSON Schema)

{ "description": "Input schema for the scale preprocessing tool.", "properties": { "layer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "If provided, which element of layers to scale.", "title": "Layer" }, "mask_obs": { "anyOf": [ { "type": "string" }, { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Boolean mask or string referring to obs column for subsetting observations.", "title": "Mask Obs" }, "max_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "description": "Clip (truncate) to this value after scaling. If None, do not clip.", "title": "Max Value" }, "obsm": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "If provided, which element of obsm to scale.", "title": "Obsm" }, "zero_center": { "default": true, "description": "If False, omit zero-centering variables to handle sparse input efficiently.", "title": "Zero Center", "type": "boolean" } }, "title": "ScaleModel", "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