{
  "_id": "6ad1cfc7d3c80a766859c044",
  "Package": "ptw",
  "Type": "Package",
  "Title": "Parametric Time Warping",
  "Version": "1.9-17",
  "Authors@R": "c(person(\"Jan\", \"Gerretzen\", role = \"ctb\"),\nperson(\"Paul\", \"Eilers\", role = \"aut\"),\nperson(\"Hans\", \"Wouters\", role = \"ctb\"),\nperson(\"Tom\", \"Bloemberg\", role = \"aut\",\nemail = \"t.bloemberg@science.ru.nl\"),\nperson(\"Ron\", \"Wehrens\", role = c(\"aut\", \"cre\"),\nemail = \"ron.wehrens@gmail.com\"))",
  "Description": "Parametric Time Warping aligns patterns, i.e., it aims to\nput corresponding features at the same locations. The algorithm\nsearches for an optimal polynomial describing the warping. It\nis possible to align one sample to a reference, several samples\nto the same reference, or several samples to several\nreferences. One can choose between calculating individual\nwarpings, or one global warping for a set of samples and one\nreference. Two optimization criteria are implemented: RMS (Root\nMean Square error) and WCC (Weighted Cross Correlation). Both\nwarping of peak profiles and of peak lists are supported. A\nvignette for the latter is contained in the inst/doc directory\nof the source package - the vignette source can be found on the\npackage github site. See `citation(\"ptw\")` for more details.",
  "URL": "https://github.com/rwehrens/ptw",
  "BugReports": "https://github.com/rwehrens/ptw/issues",
  "License": "GPL (>= 2)",
  "Repository": "https://rwehrens.r-universe.dev",
  "Date/Publication": "2026-01-19 13:33:24 UTC",
  "RemoteUrl": "https://github.com/rwehrens/ptw",
  "RemoteRef": "HEAD",
  "RemoteSha": "2cdc37fc09832405a510478bcf27defc6f8d5600",
  "RemoteSubdir": "ptw",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-16 07:03:07 UTC",
    "User": "root"
  },
  "Author": "Jan Gerretzen [ctb],\nPaul Eilers [aut],\nHans Wouters [ctb],\nTom Bloemberg [aut],\nRon Wehrens [aut, cre]",
  "Maintainer": "Ron Wehrens <ron.wehrens@gmail.com>",
  "_user": "rwehrens",
  "_type": "src",
  "_file": "ptw_1.9-17.tar.gz",
  "_fileid": "https://r2.ropensci.org/af7033b0f0d4328ee3b6fd44847e66c9bf85ab586364ca2629f0b28c4a78f60f",
  "_filesize": 4324543,
  "_sha256": "af7033b0f0d4328ee3b6fd44847e66c9bf85ab586364ca2629f0b28c4a78f60f",
  "_expires": "2027-01-24T07:18:28.000Z",
  "_created": "2026-10-16T07:03:07.000Z",
  "_published": "2026-10-16T07:18:30.975Z",
  "_buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116855070511,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12030353605"
    },
    {
      "job": 116855070523,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12029729756"
    },
    {
      "job": 116855070564,
      "time": 77,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12030408303"
    },
    {
      "job": 116855070606,
      "time": 102,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12030866375"
    },
    {
      "job": 116855070510,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12030729416"
    },
    {
      "job": 116855070651,
      "time": 505,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12030853078"
    },
    {
      "job": 116855070638,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12030689756"
    },
    {
      "job": 116855070502,
      "time": 230,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12030274312"
    },
    {
      "job": 116854062125,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12029869336"
    },
    {
      "job": 116855070625,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12030469558"
    },
    {
      "job": 116855070524,
      "time": 325,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12031405487"
    },
    {
      "job": 116855070587,
      "time": 124,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12031090665"
    },
    {
      "job": 116855070617,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12031240194"
    },
    {
      "job": 116855070706,
      "time": 326,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12030519022"
    },
    {
      "job": 116855070672,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031200200"
    }
  ],
  "_upstream": "https://github.com/rwehrens/ptw",
  "_commit": {
    "id": "2cdc37fc09832405a510478bcf27defc6f8d5600",
    "author": "Ron Wehrens <ron.wehrens@wur.nl>",
    "committer": "Ron Wehrens <ron.wehrens@wur.nl>",
    "message": "fixed braces issue\n",
    "time": 1768829604
  },
  "_maintainer": {
    "name": "Ron Wehrens",
    "email": "ron.wehrens@gmail.com",
    "login": "rwehrens",
    "description": "",
    "uuid": 5754219
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "RcppDE",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "rwehrens",
  "_selfowned": true,
  "_usedby": 13,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "rwehrens",
      "count": 63,
      "uuid": 5754219
    },
    {
      "user": "villegar",
      "count": 4,
      "uuid": 5126692
    },
    {
      "user": "zeehio",
      "count": 1,
      "uuid": 75441
    }
  ],
  "_userbio": {
    "uuid": 5754219,
    "type": "user",
    "name": "Ron Wehrens",
    "followers": 50
  },
  "_downloads": {
    "count": 1156,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ptw"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/rwehrens/ptw",
  "_searchresults": 56,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ptw.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/rwehrens/ptw",
  "_realowner": "rwehrens",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2009-10-27"
    },
    {
      "version": "1.0-1",
      "date": "2010-11-17"
    },
    {
      "version": "1.0-2",
      "date": "2012-06-19"
    },
    {
      "version": "1.0-3",
      "date": "2012-07-26"
    },
    {
      "version": "1.0-4",
      "date": "2012-08-08"
    },
    {
      "version": "1.0-5",
      "date": "2013-01-09"
    },
    {
      "version": "1.0-6",
      "date": "2013-11-19"
    },
    {
      "version": "1.0-7",
      "date": "2014-03-29"
    },
    {
      "version": "1.9-10",
      "date": "2015-07-01"
    },
    {
      "version": "1.9-11",
      "date": "2015-08-21"
    },
    {
      "version": "1.9-12",
      "date": "2017-03-06"
    },
    {
      "version": "1.9-13",
      "date": "2018-05-25"
    },
    {
      "version": "1.9-15",
      "date": "2019-11-26"
    },
    {
      "version": "1.9-16",
      "date": "2022-01-19"
    },
    {
      "version": "1.9-17",
      "date": "2026-01-22"
    }
  ],
  "_exports": [
    "asysm",
    "baseline.corr",
    "bestref",
    "calc.multicoef",
    "calc.zerocoef",
    "coda",
    "difsm",
    "mzchannel2pktab",
    "padzeros",
    "pktab2mzchannel",
    "ptw",
    "ptwgrid",
    "select.traces",
    "stptw",
    "wac",
    "wac.st",
    "warp.time",
    "wcc",
    "wcc.st",
    "whit1",
    "whit2"
  ],
  "_datasets": [
    {
      "name": "gaschrom",
      "title": "16 calibration GC traces",
      "object": "gaschrom",
      "file": "gaschrom.RData",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "gaschrom.st",
      "title": "16 calibration GC traces",
      "object": "gaschrom",
      "file": "gaschrom.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "lcms",
      "title": "Parts of 3 proteomic LC-MS samples",
      "object": "lcms",
      "file": "lcms.RData",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "lcms.pks",
      "title": "Parts of 3 proteomic LC-MS samples",
      "object": "lcms",
      "file": "lcms.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "mz",
      "title": "Parts of 3 proteomic LC-MS samples",
      "object": "lcms",
      "file": "lcms.RData",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "time",
      "title": "Parts of 3 proteomic LC-MS samples",
      "object": "lcms",
      "file": "lcms.RData",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "asysm",
      "title": "Trend estimation with asymmetric least squares",
      "topics": [
        "asysm"
      ]
    },
    {
      "page": "baseline.corr",
      "title": "Baseline Correction using asymmetric least squares",
      "topics": [
        "baseline.corr"
      ]
    },
    {
      "page": "bestref",
      "title": "Identification of optimal reference",
      "topics": [
        "bestref"
      ]
    },
    {
      "page": "calc.multicoef",
      "title": "Calculation of warping coefficients when applying more than one warping function successively",
      "topics": [
        "calc.multicoef"
      ]
    },
    {
      "page": "calc.zerocoef",
      "title": "Correction for warping coefficients when using zeropadding",
      "topics": [
        "calc.zerocoef"
      ]
    },
    {
      "page": "coda",
      "title": "Chromatogram selection using the CODA algorithm",
      "topics": [
        "coda"
      ]
    },
    {
      "page": "difsm",
      "title": "Smoothing with a finite difference penalty",
      "topics": [
        "difsm"
      ]
    },
    {
      "page": "gaschrom",
      "title": "16 calibration GC traces",
      "topics": [
        "gaschrom",
        "gaschrom.st"
      ]
    },
    {
      "page": "lcms",
      "title": "Parts of 3 proteomic LC-MS samples",
      "topics": [
        "lcms",
        "lcms.pks",
        "mz",
        "time"
      ]
    },
    {
      "page": "mzchannel2pktab",
      "title": "Conversion between peak lists from hyphenated MS (LCMS, GCMS, ...) data and input for 'stptw'",
      "topics": [
        "mzchannel2pktab",
        "pktab2mzchannel"
      ]
    },
    {
      "page": "padzeros",
      "title": "Pad matrix with zeros",
      "topics": [
        "padzeros"
      ]
    },
    {
      "page": "plot.ptw",
      "title": "Plot a ptw object",
      "topics": [
        "plot.ptw"
      ]
    },
    {
      "page": "predict.ptw",
      "title": "Prediction of warped signals",
      "topics": [
        "predict.ptw"
      ]
    },
    {
      "page": "ptw",
      "title": "Parametric Time Warping",
      "topics": [
        "coef.ptw",
        "print.ptw",
        "print.stptw",
        "ptw",
        "stptw",
        "summary.ptw",
        "summary.stptw"
      ]
    },
    {
      "page": "ptwgrid",
      "title": "Calculate RMS or WCC values on a grid",
      "topics": [
        "ptwgrid"
      ]
    },
    {
      "page": "RMS",
      "title": "Quality criteria for comparing patterns with shifts",
      "topics": [
        "RMS",
        "WCC"
      ]
    },
    {
      "page": "select.traces",
      "title": "Select traces from a data set according to several criteria",
      "topics": [
        "select.traces"
      ]
    },
    {
      "page": "warp.time",
      "title": "Transform time according to a given warping function",
      "topics": [
        "warp.time"
      ]
    },
    {
      "page": "wcc",
      "title": "Weighted auto- and cross-correlation measures",
      "topics": [
        "wac",
        "wac.st",
        "wcc",
        "wcc.st"
      ]
    },
    {
      "page": "whit1",
      "title": "Weighted Whittaker smoothing with a first order finite difference penalty",
      "topics": [
        "whit1"
      ]
    },
    {
      "page": "whit2",
      "title": "Weighted Whittaker smoothing with a second order finite difference penalty",
      "topics": [
        "whit2"
      ]
    }
  ],
  "_readme": "https://github.com/rwehrens/ptw/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "RcppDE"
  ],
  "_score": 6.7824217098288155,
  "_indexed": true,
  "_nocasepkg": "ptw",
  "_universes": [
    "rwehrens"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-10-16T07:05:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/8dc2b3b2d29a39ab4e41793afff8c691a5b9c5b3ac942d6597910f6236092576",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/31a0b17f327f7e7e141180cc7b5eae4734540b0bdf1a297cabfd68ff0293c4f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/fc8c08de06eb2a756e31a6f67da23eae2bb3caea1c724d572f30a34b472b336b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/2676a78d98b5ad78c74015f9577a1d80b3047bde4d650e4b8e6bfc9e9a9cef84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-10-16T07:17:00.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/44cc5c44f025e945511428f5f81478e753e6a2cc10744da69e5393fa4d038e03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-10-16T07:12:43.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/95fa488ebc62a8ff3db3334aa0679ab246b87d3b37e754b2d833a63fac99cddd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-10-16T07:17:45.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/89e6e93caabbc5b4a43c66538647e991c66ac59e975d4a37e52a5389d29eb002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-10-16T07:08:57.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/0261322b0aeb4a77af86211d119eca921fccc65da06b5dd3c4f148844455f0aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:45.000Z",
      "arch": "emscripten",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/8f5ba80fa02b876c39a736aa8dd2a4d5a394c83f1c6f7db03535f89568096c03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-10-16T07:07:59.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/9628c7a8571361441a8fb10930f4511807c8d04c609945dcab9d853790418624",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:25.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/57c880191b8222003955db798a30416f75d7e3e38cf4e956cc54407d6fdcf3c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:20.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/11491c01cc7c5ece372acf016771fc0eb37deff99fe47b2a1e9a4ea4fa5021c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-10-16T07:07:51.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/6601e3dad4e7908d06aad6236039d618c41e24c91a3ac9cd2dc05e0ebe57d0cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-10-16T07:04:13.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "https://r2.ropensci.org/f49c63c34b459293d69a0ce433fd2e82af0877e1bff5ae483bbecfd84909d013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/38864447126"
    }
  ]
}