{
  "_id": "6a1eee5cb401979e7341296e",
  "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-05-19 08:52:59 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>",
  "MD5sum": "93e0dccd8139704715145c08d6dcf123",
  "_user": "rwehrens",
  "_type": "src",
  "_file": "ptw_1.9-17.tar.gz",
  "_fileid": "e791e8fe45bf131cf460dd261d078471935540f18ff1be25425af79a7be778a4",
  "_filesize": 4323481,
  "_sha256": "e791e8fe45bf131cf460dd261d078471935540f18ff1be25425af79a7be778a4",
  "_created": "2026-05-19T08:52:59.000Z",
  "_published": "2026-06-02T14:53:16.535Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79100274170,
      "time": 116,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079038930"
    },
    {
      "job": 79100273529,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079034383"
    },
    {
      "job": 79100274512,
      "time": 144,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079048802"
    },
    {
      "job": 79100273801,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079038543"
    },
    {
      "job": 79100274217,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079049416"
    },
    {
      "job": 79100273823,
      "time": 210,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079065213"
    },
    {
      "job": 79100273901,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079051448"
    },
    {
      "job": 79100273146,
      "time": 222,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079067025"
    },
    {
      "job": 79100273434,
      "time": 149,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078998071"
    },
    {
      "job": 79100272328,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361274880"
    },
    {
      "job": 79100273404,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079037554"
    },
    {
      "job": 79100273988,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079037120"
    },
    {
      "job": 79100273363,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079026659"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "RcppDE",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "rwehrens",
  "_selfowned": true,
  "_usedby": 14,
  "_updates": [
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "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"
  },
  "_downloads": {
    "count": 1228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ptw"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/rwehrens/ptw",
  "_searchresults": 58,
  "_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/ptw.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": 7.157116888141574,
  "_indexed": true,
  "_nocasepkg": "ptw",
  "_universes": [
    "rwehrens"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "b4163a93fefe9102dcd8e0dc92b27d08bb33c3643f79a7914ba77a24f5dee5f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "51572936b5f44dea6b5976d0b2f1b04301299bf69128bfb56183ea69bb494579",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-05-19T08:55:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "431ad3a7b51f1149cfe32d38058781c257e2785631c49c3bae02a255bc6010c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "0359a93751f7a8f4aabf3de0cf517408bcdd5399ed4f6f5ad90d098cd37d7d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-05-19T08:55:27.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "8876dd445acef10dac30a5955079da7274c99f940c144e5afdaa863ad8a7779c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-05-19T08:56:02.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "d434ab97129b741ca88cccdd76e5b6d7f0a920f07f8e0f99c6f2c4749bba4687",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-05-19T08:55:27.000Z",
      "arch": "aarch64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "69e8ca4c9b447244b92559948bf9d14edeb61076cd506e82e7ad00a955611cf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.9-17",
      "date": "2026-05-19T08:55:49.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "5fe137ee6a2f17a1992b4b69cdc9a5f26cbed65cb17d70d1d8ab6cea2f2fc801",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:27.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "d1b5bc1f08c202594fe7a105345ef5dd608ecce660817eb30448c826c2a6c16d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:42.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "6ad8c5c46199e342d5fa8daad5358f3055c6857156af220b91d5dcd7960def04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.9-17",
      "date": "2026-05-19T08:54:07.000Z",
      "arch": "x86_64",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "2c525a1ab34acf04f46ba6ff683b5215111d53fcc66cbd3013c2c3af3d7cdc61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9-17",
      "date": "2026-06-02T14:52:37.000Z",
      "arch": "emscripten",
      "commit": "2cdc37fc09832405a510478bcf27defc6f8d5600",
      "fileid": "1e3d35b47dcae1d391c63f39069fb2eaca3fba352de7340c11abf2d367461198",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rwehrens/actions/runs/26086681275"
    }
  ]
}