View source: R/plot_pr_distribution.R
| build_pr_distribution_chapters | R Documentation |
Interactive (ggiraph): clicking a chapter facet returns its chapter_id.
build_pr_distribution_chapters(
data,
d1_name,
d2_name,
scale_mode = "fold",
fold_thresh = FOLD_THRESHOLD,
domain_label = "conditions"
)
data |
Filtered meta_summary joined with chapters (one row per concept x chapter). Expected columns: log2_pr, fold_diff, sig, concept_id, chapter_name, chapter_id. |
d1_name |
Name of reference dataset. |
d2_name |
Name of comparison dataset. |
scale_mode |
"fold" or "log2". |
fold_thresh |
Fold difference threshold. |
domain_label |
Label for domain. |
A girafe object. Selection data_id = chapter_id (character).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.