{
  "_id": "6a1038baacfb0bcc41c9aba2",
  "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-05-12 05:50:31 UTC",
    "User": "root"
  },
  "Author": "Rainer Machne [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1274-5099>),\nPeter F. Stadler [aut]",
  "MD5sum": "d25489ce0ca6ba24e8f42e2850a26179",
  "_user": "raim",
  "_type": "src",
  "_file": "dpseg_0.1.3.tar.gz",
  "_fileid": "21fbbdbb8965e98b83a97f99e58b98045f94dd6ab38589bc2a3d1eb6b55052d7",
  "_filesize": 2830239,
  "_sha256": "21fbbdbb8965e98b83a97f99e58b98045f94dd6ab38589bc2a3d1eb6b55052d7",
  "_created": "2026-05-12T05:50:31.000Z",
  "_published": "2026-05-22T11:06:34.447Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77367303548,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6936689159"
    },
    {
      "job": 77367303635,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6936689688"
    },
    {
      "job": 77367303754,
      "time": 138,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6936691165"
    },
    {
      "job": 77367303545,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6936686876"
    },
    {
      "job": 77367303655,
      "time": 210,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6936697949"
    },
    {
      "job": 77367303729,
      "time": 302,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6936717052"
    },
    {
      "job": 77367303334,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6936694840"
    },
    {
      "job": 77367303453,
      "time": 266,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6936711785"
    },
    {
      "job": 77367302873,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936660038"
    },
    {
      "job": 77367302837,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159004948"
    },
    {
      "job": 77367303452,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6936683012"
    },
    {
      "job": 77367303652,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6936689109"
    },
    {
      "job": 77367303702,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6936685205"
    }
  ],
  "_buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 729902
  },
  "_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",
    "description": "theoretical biologist and experimental bioinformatician"
  },
  "_downloads": {
    "count": 246,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dpseg"
  },
  "_devurl": "https://gitlab.com/raim/dpseg",
  "_searchresults": 23,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.537819095073274,
  "_indexed": true,
  "_nocasepkg": "dpseg",
  "_universes": [
    "raim",
    "gitlab-raim"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T05:52:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "19fc46c80602166db41661ef77608e64f18a6e52aa15329114768ce135ca7f4e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T05:52:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "2b9d96b2552ad1d2fde783619fb5e236db3511304bdd70daec7d1a4871298398",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T05:52:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "90c313ebef6f411b294f1d209619306ac2dc96fb1d0fa6d6c4e753e559bb150e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T05:52:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "93d6d5aa872ee428f3dbb36e97f3812c459af266ebcfa987948e9095656bccd3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-12T05:53:19.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "ee07c35ff94b4068ce62ec353633355d6e1ba6d5bd8dd3766d5bc18e8bb33e16",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-12T05:54:27.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "111cdb0e640af78762d577a28a6d154a2f784b939745f5acf62bccedb0efb7ad",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-12T05:53:00.000Z",
      "arch": "aarch64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "23d851bb17897bc2895105ec9602ceaba46ee76ad9aed205fe917c1294249bd1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-12T05:53:56.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "5ef9754b3a7890bb64e4db0b8f9b96b0636d49dd040c64c98756e5e8131dcea4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-12T05:51:47.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "7cbba1fff7b9ad1c6f55423254fcb5877636688b1fe12c1112326144a04b5147",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-12T05:51:42.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "67be937c52e593ac89226ad2502c01f81024ab3322edfb1de19eff90619e7d98",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-12T05:51:43.000Z",
      "arch": "x86_64",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "7ad1deab0684bb532911f100e84550fd6d1e28c9f3d97ea4b72b3746d9abd4cd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-22T11:06:11.000Z",
      "arch": "emscripten",
      "commit": "6206a2395d2e5fd62cbea498501e7093b64b96e1",
      "fileid": "7752b5e1ea079a582a6a0149997623cd980f38bd7e8ca3cec519d80dcb2ff917",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raim/actions/runs/25716008185"
    }
  ]
}