{
  "_id": "6a32e2343efcd9bda4396411",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-17 18:03:04 UTC",
    "User": "root"
  },
  "Author": "Franziska Hradilak [aut, cre]",
  "Maintainer": "Franziska Hradilak\n<Franziska.Hradilak@student.hpi.uni-potsdam.de>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-17 13:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/spqrp",
  "RemoteRef": "HEAD",
  "RemoteSha": "d4cb8843a6dec7a13ef4947c227e58ddf49b9ba7",
  "MD5sum": "4f376d1ffd876b2c4b4439bf8eee1392",
  "_user": "cran",
  "_type": "src",
  "_file": "spqrp_0.1.0.tar.gz",
  "_fileid": "54d7d8f64adcb2ade63bc5c4b30f37edac98a7d71585ece62d0327324f241c33",
  "_filesize": 664276,
  "_sha256": "54d7d8f64adcb2ade63bc5c4b30f37edac98a7d71585ece62d0327324f241c33",
  "_created": "2026-06-17T18:03:04.000Z",
  "_published": "2026-06-17T18:06:44.523Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81966527426,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7703878556"
    },
    {
      "job": 81966527396,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703882570"
    },
    {
      "job": 81965642945,
      "time": 262,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703817134"
    },
    {
      "job": 81966527485,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703881366"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27709193410",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/spqrp",
  "_commit": {
    "id": "d4cb8843a6dec7a13ef4947c227e58ddf49b9ba7",
    "author": "Franziska Hradilak <Franziska.Hradilak@student.hpi.uni-potsdam.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1781702402
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-06-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "fhradilak",
      "count": 1,
      "uuid": 82701668
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/spqrp/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-17 13:20:02",
      "modified": "2026-06-17 13:20:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "spqrp",
  "_universes": [
    "cran",
    "fhradilak"
  ],
  "_indexurl": "https://fhradilak.r-universe.dev/spqrp",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-17T18:05:36.000Z",
      "distro": "noble",
      "commit": "d4cb8843a6dec7a13ef4947c227e58ddf49b9ba7",
      "fileid": "1d1cefe0cf81625da4546490327dcd84a4cf110b65c824b46da09da0734416ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709193410"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-17T18:05:45.000Z",
      "distro": "noble",
      "commit": "d4cb8843a6dec7a13ef4947c227e58ddf49b9ba7",
      "fileid": "e018c7eb649986c2622603e775cc14e4d8aefbf8d63556fa257d17e96c0ffb96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709193410"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-17T18:06:09.000Z",
      "commit": "d4cb8843a6dec7a13ef4947c227e58ddf49b9ba7",
      "fileid": "ffbdf56532574f19a3685444afb6229c40d17034e67e5c24482af1fbd4ad66f5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709193410"
    }
  ]
}