The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
vennDiagramLab is library-first and tidyverse-friendly.
The broom-compatible S3 methods on
RegionResult make it trivial to plug into
targets / drake workflows or any pipeline that
expects tidy data.
Three methods convert a RegionResult to a tibble at
three different levels of aggregation:
tidy(result) — one row per set pair, all five pairwise
metricsglance(result) — one row, headline numbersaugment(result) — one row per item, set-membership
flags + region labelIf you want to filter to only the highly significant pairs:
broom::tidy(result) |>
dplyr::filter(highly_significant) |>
dplyr::arrange(dplyr::desc(jaccard)) |>
dplyr::select(set_a, set_b, intersection, jaccard, p_adjusted)Or count items per region:
A simple _targets.R file:
library(targets)
list(
tar_target(ds, load_sample("dataset_real_cancer_drivers_4")),
tar_target(result, analyze(ds)),
tar_target(stats_df, broom::tidy(result)),
tar_target(genes_df, broom::augment(result)),
tar_target(venn_svg, render_venn_svg(result)),
tar_target(venn_path,
{ writeLines(venn_svg, "venn.svg"); "venn.svg" },
format = "file")
)Run with targets::tar_make(). Each step caches
independently, so re-running after only changing the sort order in a
downstream report does not re-run the analysis.
statistics(result) recomputes on every call (no S4
lazy-property equivalent). If you call it many times, cache it once:
Inside a targets pipeline, this is a non-issue because
tar_target(stats, statistics(result)) caches it for
you.
vignette("v05_statistics_deep_dive") — what the metrics
in broom::tidy() actually mean.vignette("v07_pdf_reports") — turning a result into a
PDF artifact for a pipeline.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.