create_venn_diagram
Compare differentially expressed genes across 2 or 3 assays using Venn diagrams that visualize overlapping upregulated and downregulated genes.
Instructions
Create Venn diagrams comparing differentially expressed genes between 2 or 3 assays.
This function creates side-by-side Venn diagrams showing:
Left: Upregulated genes (log2fc > threshold) overlap
Right: Downregulated genes (log2fc < -threshold) overlap
If assay_id_3 is provided, creates 3-way Venn diagrams. If assay_id_3 is None, creates 2-way Venn diagrams.
Returns a link to the plot and summary statistics. FORMATTING INSTRUCTION: RENDER THE RESPONSE IN MARKDOWN FORMAT!
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assay_id_1 | Yes | First assay identifier (e.g., 'OSD-511-53054e738e335bc645cb620c95916e5f') | |
| assay_id_2 | Yes | Second assay identifier (e.g., 'OSD-511-8974299195d78d74d7f3f085f2b48981') | |
| assay_id_3 | No | Third assay identifier (optional, for 3-way Venn diagram) | |
| log2fc_threshold | No | Log2 fold change threshold for filtering genes | |
| figsize_width | No | Figure width in inches | |
| figsize_height | No | Figure height in inches |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |