{
  "_id": "6a33b6413efcd9bda43ae785",
  "Package": "spqrp",
  "Title": "Sample Provenance Quality Resolver in Proteomics",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Franziska\", \"Hradilak\",\nemail = \"Franziska.Hradilak@student.hpi.uni-potsdam.de\",\nrole = c(\"aut\", \"cre\")))",
  "Description": "Detect sample-provenance inconsistencies and potential\nmix-ups in mass-spectrometry-based plasma-proteome cohorts.\nProvides a clustering-based approach (build a nearest-neighbour\ngraph in a dimensionality-reduced space and iteratively split\nlarge components by edge weight), a threshold-based approach\n(classify sample pairs as belonging or not-belonging from a\npairwise distance cutoff), parameter optimization over distance\nmetrics and cutoffs, and a pairwise random-forest classifier\nfor protein importance ranking. This is a native R port of the\nauthor's Python package 'spqrp'\n(<https://github.com/fhradilak/spqrp>), implementing methods\nfrom an associated manuscript currently in preparation.",
  "License": "GPL-3",
  "URL": "https://github.com/fhradilak/spqrp_r",
  "BugReports": "https://github.com/fhradilak/spqrp_r/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://fhradilak.r-universe.dev",
  "Date/Publication": "2026-06-09 14:01:28 UTC",
  "RemoteUrl": "https://github.com/fhradilak/spqrp_r",
  "RemoteRef": "HEAD",
  "RemoteSha": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 09:07:35 UTC",
    "User": "root"
  },
  "Author": "Franziska Hradilak [aut, cre]",
  "Maintainer": "Franziska Hradilak <Franziska.Hradilak@student.hpi.uni-potsdam.de>",
  "MD5sum": "285f107fc3774709274b2fc0dca0cc28",
  "_user": "fhradilak",
  "_type": "src",
  "_file": "spqrp_0.1.0.tar.gz",
  "_fileid": "1a0c68ab22120b0fcfb4a0534212dd0bb213c506772b07044f1c8a92c767a99b",
  "_filesize": 664159,
  "_sha256": "1a0c68ab22120b0fcfb4a0534212dd0bb213c506772b07044f1c8a92c767a99b",
  "_created": "2026-06-18T09:07:35.000Z",
  "_published": "2026-06-18T09:11:29.151Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82094269651,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7719015724"
    },
    {
      "job": 82094269633,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719014895"
    },
    {
      "job": 82094269648,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7718994003"
    },
    {
      "job": 82094269658,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7718989347"
    },
    {
      "job": 82093426916,
      "time": 274,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7718939650"
    },
    {
      "job": 82094269593,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7718995148"
    },
    {
      "job": 82094269673,
      "time": 168,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7719004725"
    },
    {
      "job": 82094269637,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7718986767"
    },
    {
      "job": 82094269667,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7718991364"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fhradilak/spqrp_r",
  "_commit": {
    "id": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
    "author": "franziska.hradilak <franziska.hradilak@student.hpi.uni-potsdam.de>",
    "committer": "franziska.hradilak <franziska.hradilak@student.hpi.uni-potsdam.de>",
    "message": "update R depends to tested floor\nupdate description to canonical .html\n",
    "time": 1781013688
  },
  "_maintainer": {
    "name": "Franziska Hradilak",
    "email": "franziska.hradilak@student.hpi.uni-potsdam.de",
    "login": "fhradilak",
    "description": "",
    "uuid": 82701668
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "lgr",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "version": ">= 0.16.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "solitude",
      "version": ">= 1.1.3",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "version": ">= 4.10.0",
      "role": "Suggests"
    },
    {
      "package": "recipes",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "smacof",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "themis",
      "role": "Suggests"
    },
    {
      "package": "uwot",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "fhradilak",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "fhradilak",
      "count": 2,
      "uuid": 82701668
    }
  ],
  "_userbio": {
    "uuid": 82701668,
    "type": "user",
    "name": "fhradilak",
    "followers": 2
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spqrp"
  },
  "_devurl": "https://github.com/fhradilak/spqrp_r",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spqrp.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fhradilak/spqrp_r",
  "_realowner": "fhradilak",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-17"
    }
  ],
  "_exports": [
    "by_isolation_forest",
    "check_input_data_format",
    "filter_by_occurrence",
    "log_transform",
    "normalize_medianintensity",
    "optimize_parameters",
    "perform_distance_evaluation_on_ranked_proteins",
    "plate_correct_residuals_by_protein",
    "remove_outlier_samples",
    "retrieve_ranking",
    "run_clustering",
    "spqrp_example_data",
    "spqrp_example_path",
    "train_pairwise_balanced_rand_forest",
    "train_with_normalise"
  ],
  "_datasets": [
    {
      "name": "cohort_a_ranking",
      "title": "Protein-importance ranking for plasma cohort \"A\"",
      "object": "cohort_a_ranking",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Protein",
        "Importance"
      ],
      "rows": 729,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "by_isolation_forest",
      "title": "Isolation Forest outlier detection",
      "topics": [
        "by_isolation_forest"
      ]
    },
    {
      "page": "check_input_data_format",
      "title": "Validate required columns of a cohort and (optionally) a ranking",
      "topics": [
        "check_input_data_format"
      ]
    },
    {
      "page": "cohort_a_ranking",
      "title": "Protein-importance ranking for plasma cohort \"A\"",
      "topics": [
        "cohort_a_ranking"
      ]
    },
    {
      "page": "filter_by_occurrence",
      "title": "Keep proteins present in at least a given fraction of samples",
      "topics": [
        "filter_by_occurrence"
      ]
    },
    {
      "page": "log_transform",
      "title": "Log2-transform the intensity column in place (long format)",
      "topics": [
        "log_transform"
      ]
    },
    {
      "page": "normalize_medianintensity",
      "title": "Per-sample median normalisation (log-space subtraction)",
      "topics": [
        "normalize_medianintensity"
      ]
    },
    {
      "page": "optimize_parameters",
      "title": "Grid-search the cutoff that optimises a chosen performance metric",
      "topics": [
        "optimize_parameters"
      ]
    },
    {
      "page": "perform_distance_evaluation_on_ranked_proteins",
      "title": "Threshold-based pairwise distance evaluation",
      "topics": [
        "perform_distance_evaluation_on_ranked_proteins"
      ]
    },
    {
      "page": "plate_correct_residuals_by_protein",
      "title": "Regress intensity on plate and replace it with OLS residuals",
      "topics": [
        "plate_correct_residuals_by_protein"
      ]
    },
    {
      "page": "print.spqrp_train",
      "title": "Print a one-line summary of an spqrp_train object",
      "topics": [
        "print.spqrp_train"
      ]
    },
    {
      "page": "remove_outlier_samples",
      "title": "Remove samples flagged as outliers by Isolation Forest",
      "topics": [
        "remove_outlier_samples"
      ]
    },
    {
      "page": "retrieve_ranking",
      "title": "Convert classifier output to a Protein / Importance ranking",
      "topics": [
        "retrieve_ranking"
      ]
    },
    {
      "page": "run_clustering",
      "title": "End-to-end clustering pipeline",
      "topics": [
        "run_clustering"
      ]
    },
    {
      "page": "spqrp_example_data",
      "title": "Load a bundled example data file as a tibble",
      "topics": [
        "spqrp_example_data"
      ]
    },
    {
      "page": "spqrp_example_path",
      "title": "Filesystem path to a bundled example CSV",
      "topics": [
        "spqrp_example_path"
      ]
    },
    {
      "page": "train_pairwise_balanced_rand_forest",
      "title": "Pairwise balanced random-forest classifier",
      "topics": [
        "train_pairwise_balanced_rand_forest"
      ]
    },
    {
      "page": "train_with_normalise",
      "title": "End-to-end ranking pipeline: filter, normalise, optionally plate-correct, train RF",
      "topics": [
        "train_with_normalise"
      ]
    }
  ],
  "_readme": "https://github.com/fhradilak/spqrp_r/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "igraph",
    "isoband",
    "labeling",
    "lattice",
    "lgr",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "parallelly",
    "pillar",
    "pkgconfig",
    "pROC",
    "purrr",
    "R6",
    "randomForest",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "solitude",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "spqrp-mock-data.Rmd",
      "filename": "spqrp-mock-data.html",
      "title": "spqrp on mock data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load data",
        "Run clustering",
        "Threshold-based evaluation",
        "Compute your own protein ranking",
        "Filtering (optional)",
        "The complete SQRP pipeline:",
        "Preprocessing (optional)"
      ],
      "created": "2026-06-09 13:48:53",
      "modified": "2026-06-09 13:48:53",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spqrp",
  "_universes": [
    "fhradilak"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-18T09:10:37.000Z",
      "distro": "noble",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "9c8b221ba9edbd44c95d67d28ee31dfce8f351aa40a9f871d10d8a5731f75b48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-18T09:10:33.000Z",
      "distro": "noble",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "f8d8957fbc7f8be8354df9285a77bc03e21d24d1fcd0cf52816c0c1ad07e1444",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-18T09:09:48.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "0f6e1b2e1a6aac0f93f3634f14bc4d0ec8933bd5952e05e109f1e810707c5e84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-18T09:09:35.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "6c3a2146a18a89affdc52a77a34afa82282ccc965b564970c2f8944b507b683c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-18T09:10:13.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "df1ba8f0b0d87f58a4a4a04323ee42abdf0a34091da13ae8987a11558dd403bc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-18T09:09:44.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "dfcaa8201324ed3e4faaf45b647a6375d029b1540b037c7f64e83402dd4d9c93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-18T09:09:12.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "c1bbb8bc224380ea2c9da426014e33aa7162425ef25d591b2013ae8fa2580b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-18T09:09:20.000Z",
      "commit": "c97b401a13ce1ff85ae2bcb655b110ed823b4b66",
      "fileid": "61aba5f47e80596d1b3691a53b6ff1429c33116eae423edc9c04c9013daac942",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fhradilak/actions/runs/27748688023"
    }
  ]
}