find_common_differentially_expressed_genes
Identify genes consistently upregulated or downregulated across multiple assays by applying log2 fold change and adjusted p-value thresholds, returning a markdown table of expression values.
Instructions
Find common differentially expressed genes across multiple assays.
This function:
Takes a list of assay IDs as input (2 or more)
Gets ALL genes with |log2fc| > threshold for each assay
Inner joins among the upregulated genes and among the downregulated genes
Returns a markdown table with columns: gene, assay_1, assay_2, ..., assay_n showing log2fc values
FORMATTING INSTRUCTION: RENDER THE RESPONSE IN MARKDOWN FORMAT! INFORM THE USER ABOUT CURRENT THRESHOLDS AND THAT THEY CAN BE CHANGED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assay_ids | Yes | List of assay identifiers (e.g., ['OSD-253-abc123', 'OSD-253-def456']) | |
| log2fc_threshold | No | Log2 fold change threshold for filtering genes (default: 1.0 = 2-fold change) | |
| adj_p_threshold | No | Adjusted p-value threshold for significance (default: 0.05, max value: 0.1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |