View source: R/plot_pr_distribution.R
| build_pr_distribution | R Documentation |
Build a PR distribution histogram from meta_summary data
build_pr_distribution(
data,
d1_name,
d2_name,
scale_mode = "fold",
fold_thresh = FOLD_THRESHOLD,
domain_label = "conditions"
)
data |
Filtered meta_summary rows (one per concept). Expected columns: log2_pr, fold_diff, sig, concept_id. |
d1_name |
Name of reference dataset (shown on left side). |
d2_name |
Name of comparison dataset (shown on right side). |
scale_mode |
"fold" or "log2" - controls x-axis labels only. |
fold_thresh |
Fold difference threshold for zone coloring. |
domain_label |
Label for domain (e.g. "conditions", "drugs"). |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.