blob: b0d8b89d50a35d07108d4d2b699fc25662d0a222 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RPtw(RPackage):
"""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."""
homepage = "https://cran.r-project.org/package=ptw"
url = "https://cran.rstudio.com/src/contrib/ptw_1.9-12.tar.gz"
list_url = "https://cran.rstudio.com/src/contrib/Archive/ptw"
version('1.9-12', 'ddff887752d789ea72db3ee235ae7c67')
depends_on('r-nloptr', type=('build', 'run'))
|