{
  "_id": "6a5200a99b92047c28d53b02",
  "Package": "dpseg",
  "Title": "Piecewise Linear Segmentation by Dynamic Programming",
  "Version": "0.1.3",
  "Authors@R": "c(person(\"Rainer\",\"Machne\", role = c(\"aut\", \"cre\"),\nemail = \"machne@hhu.de\",\ncomment = c(ORCID = \"0000-0002-1274-5099\")),\nperson(\"Peter F.\", \"Stadler\", role = c(\"aut\")))",
  "Maintainer": "Rainer Machne <machne@hhu.de>",
  "BugReports": "https://gitlab.com/raim/dpseg/-/issues",
  "Description": "Piecewise linear segmentation of ordered data by a dynamic\nprogramming algorithm. The algorithm was developed for time\nseries data, e.g. growth curves, and for genome-wide read-count\ndata from next generation sequencing, but is broadly\napplicable. Generic implementations of dynamic programming\nroutines allow to scan for optimal segmentation parameters and\ntest custom segmentation criteria (\"scoring functions\").",
  "URL": "https://gitlab.com/raim/dpseg/",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Repository": "https://raim.r-universe.dev",
  "Date/Publication": "2025-02-18 14:54:28 UTC",
  "RemoteUrl": "https://gitlab.com/raim/dpseg",
  "RemoteRef": "HEAD",
  "RemoteSha": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-11 08:31:34 UTC",
    "User": "root"
  },
  "Author": "Rainer Machne [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1274-5099>),\nPeter F. Stadler [aut]",
  "_user": "raim",
  "_type": "src",
  "_file": "dpseg_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d454703a28bd71ecaea92f087533de11e31cc7901e081d521370ee695f329a73",
  "_filesize": 2829199,
  "_sha256": "d454703a28bd71ecaea92f087533de11e31cc7901e081d521370ee695f329a73",
  "_expires": "2026-10-19T08:36:55.000Z",
  "_created": "2026-07-11T08:31:34.000Z",
  "_published": "2026-07-11T08:36:57.078Z",
  "_jobs": [
    {
      "job": 86528212174,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8246837444"
    },
    {
      "job": 86528212144,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8246834790"
    },
    {
      "job": 86528212143,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246836208"
    },
    {
      "job": 86528212157,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246835912"
    },
    {
      "job": 86528212130,
      "time": 245,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8246845764"
    },
    {
      "job": 86528212147,
      "time": 274,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8246851271"
    },
    {
      "job": 86528212153,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246836817"
    },
    {
      "job": 86528212131,
      "time": 232,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246846730"
    },
    {
      "job": 86527999719,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246816919"
    },
    {
      "job": 86528212120,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8246832776"
    },
    {
      "job": 86528212140,
      "time": 114,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8246832828"
    },
    {
      "job": 86528212145,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8246831156"
    },
    {
      "job": 86528212136,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246831425"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875",
  "_status": "success",
  "_upstream": "https://gitlab.com/raim/dpseg",
  "_commit": {
    "id": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
    "author": "raim <raim@intron>",
    "committer": "raim <raim@intron>",
    "message": "captial R-squared\n",
    "time": 1739890468
  },
  "_maintainer": {
    "name": "Rainer Machne",
    "email": "machne@hhu.de",
    "login": "raim",
    "orcid": "0000-0002-1274-5099",
    "description": "theoretical biologist and experimental bioinformatician",
    "uuid": 729902
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.18",
      "role": "Imports"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "RcppDynProg",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-raim",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_userbio": {
    "uuid": 729902,
    "type": "user",
    "name": "Rainer Machne",
    "followers": 18,
    "description": "theoretical biologist and experimental bioinformatician"
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dpseg"
  },
  "_devurl": "https://gitlab.com/raim/dpseg",
  "_searchresults": 29,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dpseg.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://gitlab.com/raim/dpseg",
  "_realowner": "raim",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2020-08-17"
    }
  ],
  "_exports": [
    "addLm",
    "backtrace_r",
    "dpseg",
    "dpseg_old",
    "estimateP",
    "movie",
    "scanP",
    "sgtable"
  ],
  "_datasets": [
    {
      "name": "oddata",
      "title": "Escherichia coli growth curves.",
      "object": "TRO15_OD",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Time",
        "A1",
        "A2",
        "A3",
        "A4",
        "A5",
        "A6",
        "A7",
        "A8",
        "A9",
        "A10",
        "A11",
        "A12",
        "B1",
        "B2",
        "B3",
        "B4",
        "B5",
        "B6",
        "B7",
        "B8",
        "B9",
        "B10",
        "B11",
        "B12",
        "C1",
        "C2",
        "C3",
        "C4",
        "C5",
        "C6",
        "C7",
        "C8",
        "C9",
        "C10",
        "C11",
        "C12",
        "D1",
        "D2",
        "D3",
        "D4",
        "D5",
        "D6",
        "D7",
        "D8",
        "D9",
        "D10",
        "D11",
        "D12",
        "E1",
        "E2",
        "E3",
        "E4",
        "E5",
        "E6",
        "E7",
        "E8",
        "E9",
        "E10",
        "E11",
        "E12",
        "F1",
        "F2",
        "F3",
        "F4",
        "F5",
        "F6",
        "F7",
        "F8",
        "F9",
        "F10",
        "F11",
        "F12",
        "G1",
        "G2",
        "G3",
        "G4",
        "G5",
        "G6",
        "G7",
        "G8",
        "G9",
        "G10",
        "G11",
        "G12",
        "H1",
        "H2",
        "H3",
        "H4",
        "H5",
        "H6",
        "H7",
        "H8",
        "H9",
        "H10",
        "H11",
        "H12"
      ],
      "rows": 229,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "addLm",
      "title": "Adds linear regression data to 'dpseg' results or a table of segment borders.",
      "topics": [
        "addLm"
      ]
    },
    {
      "page": "backtrace_r",
      "title": "backtracing 'dpseg' segment break-points",
      "topics": [
        "backtrace_r"
      ]
    },
    {
      "page": "dpseg",
      "title": "dpseg : linear segmentation by dynamic programming",
      "topics": [
        "dpseg"
      ]
    },
    {
      "page": "dpseg_old",
      "title": "inefficient 'dpseg' implementation",
      "topics": [
        "dpseg_old"
      ]
    },
    {
      "page": "estimateP",
      "title": "Estimate a starting value for penalty P.",
      "topics": [
        "estimateP"
      ]
    },
    {
      "page": "movie",
      "title": "Visualizes the 'dpseg' segmentation recursion as a movie.",
      "topics": [
        "movie"
      ]
    },
    {
      "page": "oddata",
      "title": "Escherichia coli growth curves.",
      "topics": [
        "oddata"
      ]
    },
    {
      "page": "plot.dpseg",
      "title": "Plot method for a 'dpseg' segmentation model.",
      "topics": [
        "plot.dpseg"
      ]
    },
    {
      "page": "predict.dpseg",
      "title": "Predict method for `dpseg` segmentations",
      "topics": [
        "predict.dpseg"
      ]
    },
    {
      "page": "print.dpseg",
      "title": "Print method for linear segmentation result from 'dpseg'.",
      "topics": [
        "print.dpseg"
      ]
    },
    {
      "page": "scanP",
      "title": "Scan over different penalty 'P' values",
      "topics": [
        "scanP"
      ]
    },
    {
      "page": "sgtable",
      "title": "construct a segment table",
      "topics": [
        "sgtable"
      ]
    }
  ],
  "_readme": "https://gitlab.com/raim/dpseg/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "dpseg.Rmd",
      "filename": "dpseg.html",
      "title": "Piecewise Linear Segmentation by Dynamic Programming",
      "author": "Rainer Machne, Peter F. Stadler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "Recursion",
        "Scoring Functions",
        "Backtracing",
        "Segment Length Restrictions",
        "Usage",
        "Basic",
        "get example data oddata - bacterial growth measured as optical density OD",
        "NOTE: the scoring function results are stored as a matrix for re-use below",
        "Fine-tuning Segment Length: The Penalty Parameter $P$",
        "Scoring Functions: $-\\mathrm",
        "Data Example: $P<0$ and Correlation-based Scoring.",
        "Vertical and Horizontal Lines with Zero Variance.",
        "Discrete Jumps between Segments",
        "Custom Scoring Functions",
        "Benchmarking",
        "Related Packages and Algorithms",
        "Dynamic Programming in base R",
        "Incremental Linear Regression",
        "Least-Squares Method",
        "Incremental Calculation",
        "Useful Definitions",
        "Variance & Covariance",
        "Correlation and R-squared",
        "Standard Deviation & Standard Error",
        "Incremental Calculation of Scoring Functions",
        "Coefficient of Determination: $R^2$",
        "Variance of Residuals: $\\mathrm",
        "Special Cases: $\\mathrm",
        "References"
      ],
      "created": "2020-07-30 08:46:37",
      "modified": "2025-02-18 14:54:28",
      "commits": 43
    }
  ],
  "_score": 4.638489256954637,
  "_indexed": true,
  "_nocasepkg": "dpseg",
  "_universes": [
    "raim",
    "gitlab-raim"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/a67780aa7c2ca54dcbe34c5e0cd0148742be1b8ea980cae2ab01c4978a9f4e56",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/423ae6b97f73262a54f78081e5d6027eb33fbdd83c1002d2889c9aee8a25f9c2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/6aa38292e86d15fc612ec76041a7897334c743809d533b8421bfc6d828bd1f43",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/a165365b307a48fae885fe1f0a826cad4bb3bb0cc50d5f5b7abffae0dd19f5da",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-11T08:34:40.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/93a9f2e663ce5f6f0dbb0cc905f83e4aa14773c93e4e0751872b77cd04eff3b1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-11T08:35:12.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/286cce243e61c212876aebccf428bd02dfcb300316270c9a632773d7ac1833c4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:42.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/a7747d6900812499f51f13f2be9ac3d4e26b1f9eaadee43598b7cb4bbcf24862",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-11T08:34:43.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/169194e44046607f553ad661690a6cb3bee87cdbabaec5269c6dfb379050f742",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-07-11T08:33:40.000Z",
      "arch": "emscripten",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/b86ea1dbcc2546a808b3d0f2753b05c67721c3510e76f85a9c5126f6a4dbeaa8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-11T08:32:46.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/6b9a8c7a67578a67a4aa5d6cd0958699296b92b6819997f726fbe9eb7e5ed1ce",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-11T08:32:44.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/207c143b862f09a21a388a520e93acc1f420973fe112315897511f092a6a9acd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-11T08:32:45.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/48d0c62d276016977215f46aef17a264f66e421c9b9b9c3ddc880cf0837f1a27",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/29146172875"
    }
  ]
}