{
  "_id": "6acb8a6cfe5cc25786e91758",
  "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-10-11 13:04:05 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/65b3ab6f21220dc61cbde77e5e16e1a81a879aa73131f82eb09f69b2dd3a9f10",
  "_filesize": 2830357,
  "_sha256": "65b3ab6f21220dc61cbde77e5e16e1a81a879aa73131f82eb09f69b2dd3a9f10",
  "_expires": "2027-01-19T13:08:58.000Z",
  "_created": "2026-10-11T13:04:05.000Z",
  "_published": "2026-10-11T13:08:59.940Z",
  "_buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114476795792,
      "time": 98,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11703068405"
    },
    {
      "job": 114476795821,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11702353326"
    },
    {
      "job": 114476795918,
      "time": 94,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702813767"
    },
    {
      "job": 114476795849,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702764043"
    },
    {
      "job": 114476795869,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11702842546"
    },
    {
      "job": 114476795857,
      "time": 211,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11702419829"
    },
    {
      "job": 114476795822,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702793998"
    },
    {
      "job": 114476795819,
      "time": 168,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702908832"
    },
    {
      "job": 114476131294,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11703318040"
    },
    {
      "job": 114476795902,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11702592501"
    },
    {
      "job": 114476795815,
      "time": 193,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11703263504"
    },
    {
      "job": 114476795886,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11702509338"
    },
    {
      "job": 114476795929,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11703531987"
    },
    {
      "job": 114476795808,
      "time": 252,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702764310"
    },
    {
      "job": 114476795828,
      "time": 95,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11702918754"
    }
  ],
  "_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": 364,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dpseg"
  },
  "_devurl": "https://gitlab.com/raim/dpseg",
  "_searchresults": 28,
  "_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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.623249290397901,
  "_indexed": true,
  "_nocasepkg": "dpseg",
  "_universes": [
    "raim",
    "gitlab-raim"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/beaf7d3bed44993bc6c7b867de130f7acc995bb4429140a4aa709bddba8dba92",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-11T13:06:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/399058387e15a616a834c12765592d9d23de4896efc17937e8b3fb79ad99ecdf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/b9934dadb1198d3aa801dc3bd17d673c5f93c16ada02d4efecf6805bbf7d70b0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/5a1098e73569f2484fa4204f2fab56ac1a6b90e20832f19c5629723b807fd7a7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:55.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/d1a9509dff56d2fe08a25df0d6b17b1939622cd06768b3bf80e26263bfd09169",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-11T13:06:47.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/3f73b5c25938d29b32a36d390e622847d76b261ba72c6651591438309f6f9c50",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-11T13:06:02.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/776c30690ea463af42e78dc9e8c825abeee39bf4d40d999f2f4440d73eb98e37",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-11T13:06:27.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/d4874d0de8902c92fce21de43fecac8284f18d9e865f154dc5e886ca16336d69",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-10-11T13:06:03.000Z",
      "arch": "emscripten",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/7ad223be55546df6eddcc651cd60573db39da2c90c3ae779872eb57b54f1d62a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-11T13:07:07.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/91568795657c02af27dba2784c00e025e689abffd9eccada9081fe7d08d866a1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:14.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/79b6549f00597309baa80931ef44445c7cce4bd9957f348746db22d613dab9f7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:28.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/aba3cc62377acfaeb46df13f817dd16db4b06ccffc809c5182fa79fe3d10b6a6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-11T13:08:06.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/a8ff339c04b95140bd01e1b10ca4aa83b60f34689bf00f6e89ad50f3af57aa85",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-11T13:05:23.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "https://r2.ropensci.org/152a3fb60e5160af7160c6ad5f36cbd7effd9f5e26c1b5aee6fa025a42a6c0de",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/38141483500"
    }
  ]
}