{
  "_id": "6ad34d1d1e212c88a5cf53c0",
  "Package": "peppwR",
  "Title": "Power Analysis for Phosphopeptide Abundance Hypothesis Test",
  "Version": "0.1.0",
  "Author": "Dan MacLean [aut, cre]",
  "Maintainer": "Dan MacLean <dan.maclean@tsl.ac.uk>",
  "Authors@R": "person(\"Dan\", \"MacLean\", email = \"dan.maclean@tsl.ac.uk\", role = c(\"aut\", \"cre\"))",
  "Description": "Estimate best fit distributions and do power analysis for\nhypothesis tests on phosphopeptide abundance data.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://teammaclean.github.io/peppwR/,\nhttps://github.com/TeamMacLean/peppwR",
  "BugReports": "https://github.com/TeamMacLean/peppwR/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://teammaclean.r-universe.dev",
  "Date/Publication": "2026-09-03 09:31:28 UTC",
  "RemoteUrl": "https://github.com/teammaclean/peppwr",
  "RemoteRef": "HEAD",
  "RemoteSha": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-17 10:20:11 UTC",
    "User": "root"
  },
  "_user": "teammaclean",
  "_type": "src",
  "_file": "peppwR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/ec0cc8208cf16ba169f428a314f133704925ffbd408955dc0121caa87f03056e",
  "_filesize": 5282555,
  "_sha256": "ec0cc8208cf16ba169f428a314f133704925ffbd408955dc0121caa87f03056e",
  "_expires": "2027-01-25T10:25:30.000Z",
  "_created": "2026-10-17T10:20:11.000Z",
  "_published": "2026-10-17T10:25:32.872Z",
  "_buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117372783595,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12097678869"
    },
    {
      "job": 117372783664,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12098146842"
    },
    {
      "job": 117372783593,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12098356277"
    },
    {
      "job": 117372783543,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12098485557"
    },
    {
      "job": 117372008193,
      "time": 254,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097892596"
    },
    {
      "job": 117372783756,
      "time": 223,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12097634789"
    },
    {
      "job": 117372783556,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12097797055"
    },
    {
      "job": 117372783676,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12098240682"
    },
    {
      "job": 117372783553,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12097639367"
    }
  ],
  "_upstream": "https://github.com/teammaclean/peppwr",
  "_commit": {
    "id": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
    "author": "danmaclean <maclean.daniel@gmail.com>",
    "committer": "danmaclean <maclean.daniel@gmail.com>",
    "message": "clean\n",
    "time": 1788427888
  },
  "_maintainer": {
    "name": "Dan MacLean",
    "email": "dan.maclean@tsl.ac.uk",
    "login": "tsl-zz",
    "description": "",
    "uuid": 204196
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fitdistrplus",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "univariateML",
      "role": "Imports"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "teammaclean",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 13
    },
    {
      "week": "2026-06",
      "n": 28
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 13
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 5
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "phosphoproteomics",
    "phosphoproteomics-data",
    "proteomics",
    "proteomics-data-analysis"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "danmaclean",
      "count": 67,
      "uuid": 78520
    }
  ],
  "_userbio": {
    "uuid": 14328659,
    "type": "organization",
    "name": "Team MacLean Bioinformatics",
    "followers": 12,
    "description": "Bioinformatics software, analysis and DevOps projects from Team MacLean"
  },
  "_downloads": {
    "count": 311,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/peppwR"
  },
  "_devurl": "https://github.com/teammaclean/peppwr",
  "_pkgdown": "https://teammaclean.github.io/peppwR/",
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/peppwR.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/teammaclean/peppwr",
  "_realowner": "teammaclean",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-30"
    }
  ],
  "_exports": [
    "compute_dataset_mnar",
    "compute_missingness",
    "fit_distributions",
    "get_distribution_preset",
    "is_count_data",
    "new_peppwr_fits",
    "new_peppwr_power",
    "plot_density_overlay",
    "plot_missingness",
    "plot_param_distribution",
    "plot_power_heatmap",
    "plot_power_vs_effect",
    "plot_qq",
    "power_analysis",
    "run_power_sim",
    "run_power_sim_empirical",
    "run_power_sim_fdr",
    "run_power_sim_with_missingness",
    "simulate_empirical",
    "simulate_experiment",
    "simulate_with_missingness",
    "test_bayes_t",
    "test_bootstrap_t",
    "test_rankprod",
    "test_wilcoxon",
    "validate_peppwr_fits",
    "validate_peppwr_power"
  ],
  "_help": [
    {
      "page": "compute_dataset_mnar",
      "title": "Compute dataset-level MNAR metric",
      "topics": [
        "compute_dataset_mnar"
      ]
    },
    {
      "page": "compute_missingness",
      "title": "Compute missingness statistics for a vector of values",
      "topics": [
        "compute_missingness"
      ]
    },
    {
      "page": "fit_distributions",
      "title": "Fit distributions to peptide abundance data",
      "topics": [
        "fit_distributions"
      ]
    },
    {
      "page": "get_distribution_preset",
      "title": "Get distributions for a preset",
      "topics": [
        "get_distribution_preset"
      ]
    },
    {
      "page": "is_count_data",
      "title": "Check if data appears to be count data (non-negative integers)",
      "topics": [
        "is_count_data"
      ]
    },
    {
      "page": "new_peppwr_fits",
      "title": "Create a new peppwr_fits object",
      "topics": [
        "new_peppwr_fits"
      ]
    },
    {
      "page": "new_peppwr_power",
      "title": "Create a new peppwr_power object",
      "topics": [
        "new_peppwr_power"
      ]
    },
    {
      "page": "plot_density_overlay",
      "title": "Plot density overlay: observed histogram with fitted density curve",
      "topics": [
        "plot_density_overlay"
      ]
    },
    {
      "page": "plot_missingness",
      "title": "Plot missingness statistics",
      "topics": [
        "plot_missingness"
      ]
    },
    {
      "page": "plot_param_distribution",
      "title": "Plot distribution of fitted parameters across peptidome",
      "topics": [
        "plot_param_distribution"
      ]
    },
    {
      "page": "plot_power_heatmap",
      "title": "Plot power heatmap: N x effect size grid",
      "topics": [
        "plot_power_heatmap"
      ]
    },
    {
      "page": "plot_power_vs_effect",
      "title": "Plot power vs effect size at fixed N",
      "topics": [
        "plot_power_vs_effect"
      ]
    },
    {
      "page": "plot_qq",
      "title": "Plot QQ plots for goodness-of-fit",
      "topics": [
        "plot_qq"
      ]
    },
    {
      "page": "plot.peppwr_fits",
      "title": "Plot method for peppwr_fits",
      "topics": [
        "plot.peppwr_fits"
      ]
    },
    {
      "page": "plot.peppwr_power",
      "title": "Plot method for peppwr_power",
      "topics": [
        "plot.peppwr_power"
      ]
    },
    {
      "page": "power_analysis",
      "title": "Power analysis for peptide abundance data",
      "topics": [
        "power_analysis"
      ]
    },
    {
      "page": "power_analysis.character",
      "title": "Power analysis with specified distribution (aggregate mode)",
      "topics": [
        "power_analysis.character",
        "power_analysis.default"
      ]
    },
    {
      "page": "power_analysis.peppwr_fits",
      "title": "Power analysis for per-peptide mode using fitted distributions",
      "topics": [
        "power_analysis.peppwr_fits"
      ]
    },
    {
      "page": "print.peppwr_fits",
      "title": "Print method for peppwr_fits",
      "topics": [
        "print.peppwr_fits"
      ]
    },
    {
      "page": "print.peppwr_power",
      "title": "Print method for peppwr_power",
      "topics": [
        "print.peppwr_power"
      ]
    },
    {
      "page": "print.summary.peppwr_fits",
      "title": "Print method for summary.peppwr_fits",
      "topics": [
        "print.summary.peppwr_fits"
      ]
    },
    {
      "page": "print.summary.peppwr_power",
      "title": "Print method for summary.peppwr_power",
      "topics": [
        "print.summary.peppwr_power"
      ]
    },
    {
      "page": "run_power_sim",
      "title": "Run power simulation",
      "topics": [
        "run_power_sim"
      ]
    },
    {
      "page": "run_power_sim_empirical",
      "title": "Run power simulation using empirical bootstrap",
      "topics": [
        "run_power_sim_empirical"
      ]
    },
    {
      "page": "run_power_sim_fdr",
      "title": "Run FDR-aware power simulation for whole peptidome",
      "topics": [
        "run_power_sim_fdr"
      ]
    },
    {
      "page": "run_power_sim_with_missingness",
      "title": "Run power simulation with missingness",
      "topics": [
        "run_power_sim_with_missingness"
      ]
    },
    {
      "page": "simulate_empirical",
      "title": "Simulate experiment using empirical bootstrap",
      "topics": [
        "simulate_empirical"
      ]
    },
    {
      "page": "simulate_experiment",
      "title": "Simulate an experiment with control and treatment groups",
      "topics": [
        "simulate_experiment"
      ]
    },
    {
      "page": "simulate_with_missingness",
      "title": "Simulate experiment with realistic missingness",
      "topics": [
        "simulate_with_missingness"
      ]
    },
    {
      "page": "summary.peppwr_fits",
      "title": "Summary method for peppwr_fits",
      "topics": [
        "summary.peppwr_fits"
      ]
    },
    {
      "page": "summary.peppwr_power",
      "title": "Summary method for peppwr_power",
      "topics": [
        "summary.peppwr_power"
      ]
    },
    {
      "page": "test_bayes_t",
      "title": "Bayes factor t-test",
      "topics": [
        "test_bayes_t"
      ]
    },
    {
      "page": "test_bootstrap_t",
      "title": "Bootstrap-t test",
      "topics": [
        "test_bootstrap_t"
      ]
    },
    {
      "page": "test_rankprod",
      "title": "Rank Products test",
      "topics": [
        "test_rankprod"
      ]
    },
    {
      "page": "test_wilcoxon",
      "title": "Wilcoxon rank-sum test",
      "topics": [
        "test_wilcoxon"
      ]
    },
    {
      "page": "validate_peppwr_fits",
      "title": "Validate a peppwr_fits object",
      "topics": [
        "validate_peppwr_fits"
      ]
    },
    {
      "page": "validate_peppwr_power",
      "title": "Validate a peppwr_power object",
      "topics": [
        "validate_peppwr_power"
      ]
    }
  ],
  "_pkglogo": "https://github.com/teammaclean/peppwr/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/teammaclean/peppwr/raw/HEAD/README.md",
  "_rundeps": [
    "actuar",
    "assertthat",
    "bbmle",
    "bdsmatrix",
    "cli",
    "cowplot",
    "cpp11",
    "cvar",
    "dplyr",
    "expint",
    "extraDistr",
    "farver",
    "fastICA",
    "fBasics",
    "fGarch",
    "fitdistrplus",
    "gbutils",
    "generics",
    "ggplot2",
    "glue",
    "gss",
    "gtable",
    "GUILDS",
    "intervals",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "logitnorm",
    "magrittr",
    "MASS",
    "Matrix",
    "mvtnorm",
    "nakagami",
    "nloptr",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "poilog",
    "poweRlaw",
    "pracma",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rdpack",
    "Rfast",
    "rlang",
    "S7",
    "sads",
    "scales",
    "spatial",
    "stabledist",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "timeSeries",
    "univariateML",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with peppwR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Setup",
        "Generate Synthetic Pilot Data",
        "Fit Distributions",
        "Visualize Distribution Fits",
        "Assess Fit Quality",
        "A Note on Sample Size and Distribution Detection",
        "Power Analysis - Aggregate Mode",
        "Finding Required Sample Size",
        "Finding Power at Fixed N",
        "Power Analysis - Per-Peptide Mode",
        "Interpreting Per-Peptide Results",
        "Summary",
        "Next Steps"
      ],
      "created": "2026-01-29 15:05:53",
      "modified": "2026-02-06 14:26:48",
      "commits": 4
    },
    {
      "source": "find-fits.Rmd",
      "filename": "find-fits.html",
      "title": "How to find the best fitting distribution",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-04-29 13:09:35",
      "modified": "2024-04-29 13:09:35",
      "commits": 1
    }
  ],
  "_score": 5.225309281725863,
  "_indexed": true,
  "_nocasepkg": "peppwr",
  "_universes": [
    "teammaclean",
    "tsl-zz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T10:22:52.000Z",
      "distro": "resolute",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/511121039ddb1efcf1c354a35f1f45f606eb6fe557a5b283e5b2cf05e38dec8a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T10:22:22.000Z",
      "distro": "resolute",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/7610b3fbf87fc983f67440b1e538cc1e8db933596413212f81062640b3a3a831",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T10:24:12.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/58dbfc2a71628938b3c643cd3352e87eb070e72fa4d9901936f535f6fd7ba399",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T10:23:29.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/29a9aadaa2085393a8e4159b53fa8cbe59c8269cceb5e977059fef7fcc1633d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-17T10:24:15.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/4d822a1f7eda2f5e37bd12aba58dda11b1247670edb41e1c2bb31bc1b566cf5f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T10:21:25.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/82bd957921ff7d1ea1213d1cb324133d5a4f793122871652768b4ab8e609a2c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T10:21:31.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/c69feebdecc1f7c374004a62f362033121e52838a8dedcee80992d29ad489f75",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T10:21:22.000Z",
      "commit": "32460de4ca99a30edb2bd8b794f3b6e160cacdec",
      "fileid": "https://r2.ropensci.org/eb4bb4e561052beb1971cdea019a9550f3bfda33b5baad151dda80fabe210f35",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/teammaclean/actions/runs/39024239000"
    }
  ]
}