Published September 23, 2026 | Version v2.0.0

MoTrPAC/MotrpacBicQC: v2.0.0

  • 1. Stanford University
  • 2. Perisphere Real World Evidence
  • 3. Pfizer

Description

Changes

  • inspectdf dependency removed: inspectdf was archived from CRAN on 2026-04-10, which made the package impossible to install from a clean library (any dependency resolution against the CRAN source index, e.g. pak in GitHub Actions, failed with "Can't find package called inspectdf")
  • New plot_na_percentage(): bar plot with the percentage of NA values per column, computed with naniar::miss_var_summary() (naniar was already a dependency). It replaces the inspectdf::inspect_na() %>% show_plot() chart in the metabolomics, olink, and proteomics QC plots, producing the same chart (same values, column order, and text labels)

Bug Fixes

  • Olink QC plots failed with ggplot2 4.0: the id-count plots of plot_basic_olink_qc() labelled the bars with aes(label = n) instead of olink_count, so ggplot2 resolved n to a function. ggplot2 4.0 rejects that ("Aesthetics are not valid data columns"), so the olink QC plots failed for any dataset with 200 samples or fewer

Tests

  • Unit tests for plot_na_percentage() and end-to-end tests of plot_basic_metabolomics_qc() (bundled data) and plot_basic_olink_qc() (synthetic data) writing the QC pdfs

Files

MoTrPAC/MotrpacBicQC-v2.0.0.zip

Files (15.3 MB)

Name Size Download all
md5:ef7b06268d2b108951d76ff25fd5a455
15.3 MB Preview Download

Additional details

Related works