ptw: Parametric Time Warping

Parametric Time Warping aligns patterns, i.e. it aims to put corresponding features at the same locations. The algorithm searches for an optimal polynomial describing the warping. It is possible to align one sample to a reference, several samples to the same reference, or several samples to several references. One can choose between calculating individual warpings, or one global warping for a set of samples and one reference. Two optimization criteria are implemented: RMS (Root Mean Square error) and WCC (Weighted Cross Correlation). Both warping of peak profiles and of peak lists are supported. A vignette for the latter is contained in the inst/doc directory of the source package - the vignette source can be found on the package github site.

Version: 1.9-16
Imports: RcppDE, graphics, grDevices, stats
Published: 2022-01-19
DOI: 10.32614/CRAN.package.ptw
Author: Jan Gerretzen [ctb], Paul Eilers [aut], Hans Wouters [ctb], Tom Bloemberg [aut], Ron Wehrens [aut, cre]
Maintainer: Ron Wehrens <ron.wehrens at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: ptw citation info
Materials: NEWS
In views: TimeSeries
CRAN checks: ptw results


Reference manual: ptw.pdf


Package source: ptw_1.9-16.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ptw_1.9-16.tgz, r-oldrel (arm64): ptw_1.9-16.tgz, r-release (x86_64): ptw_1.9-16.tgz, r-oldrel (x86_64): ptw_1.9-16.tgz
Old sources: ptw archive

Reverse dependencies:

Reverse depends: RGCxGC, RpeakChrom
Reverse imports: chipPCR, gcxgclab, PepsNMR, Rnmr1D, spant


Please use the canonical form to link to this page.