Skip to main content
Glama

log1p

Transform single-cell RNA sequencing data by applying the natural logarithm plus one (log(X + 1)) to stabilize variance and normalize expression values for downstream analysis.

Instructions

Logarithmize the data matrix (X = log(X + 1))

Input Schema

NameRequiredDescriptionDefault
baseNoBase of the logarithm. Natural logarithm is used by default.
chunk_sizeNoNumber of observations in the chunks to process the data in.
chunkedNoProcess the data matrix in chunks, which will save memory.
layerNoEntry of layers to transform.
obsmNoEntry of obsm to transform.

Input Schema (JSON Schema)

{ "description": "Input schema for the log1p preprocessing tool.", "properties": { "base": { "anyOf": [ { "type": "integer" }, { "type": "number" }, { "type": "null" } ], "default": null, "description": "Base of the logarithm. Natural logarithm is used by default.", "title": "Base" }, "chunk_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Number of observations in the chunks to process the data in.", "title": "Chunk Size" }, "chunked": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Process the data matrix in chunks, which will save memory.", "title": "Chunked" }, "layer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Entry of layers to transform.", "title": "Layer" }, "obsm": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Entry of obsm to transform.", "title": "Obsm" } }, "title": "Log1PModel", "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