Skip to content

funMoDisco

Motif Discovery in Functional Data

v1.1.0 · Nov 7, 2025 · GPL (>= 2)

Description

Efficiently implementing two complementary methodologies for discovering motifs in functional data: ProbKMA and FunBIalign. Cremona and Chiaromonte (2023) "Probabilistic K-means with Local Alignment for Clustering and Motif Discovery in Functional Data" <doi:10.1080/10618600.2022.2156522> is a probabilistic K-means algorithm that leverages local alignment and fuzzy clustering to identify recurring patterns (candidate functional motifs) across and within curves, allowing different portions of the same curve to belong to different clusters. It includes a family of distances and a normalization to discover various motif types and learns motif lengths in a data-driven manner. It can also be used for local clustering of misaligned data. Di Iorio, Cremona, and Chiaromonte (2023) "funBIalign: A Hierarchical Algorithm for Functional Motif Discovery Based on Mean Squared Residue Scores" <doi:10.48550/arXiv.2306.04254> applies hierarchical agglomerative clustering with a functional generalization of the Mean Squared Residue Score to identify motifs of a specified length in curves. This deterministic method includes a small set of user-tunable parameters. Both algorithms are suitable for single curves or sets of curves. The package also includes a flexible function to simulate functional data with embedded motifs, allowing users to generate benchmark datasets for validating and comparing motif discovery methods.

Downloads

643

Last 30 days

5943rd

1.8K

Last 90 days

4.9K

Last year

Trend: +0.9% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘funMoDisco/libs/funMoDisco.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘funMoDisco/libs/funMoDisco.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'funMoDisco/libs/x64/funMoDisco.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.2Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs  10.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 15.2Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs  10.0Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs   1.6Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘funMoDisco/libs/funMoDisco.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.2Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs  10.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 15.2Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs  10.0Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    data   4.4Mb
    libs   1.6Mb

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 progress Rcpp RcppArmadillo dendextend fastcluster fda ggtext purrr scales class combinat data.table stringr funMoDisco

Version History

new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff Nov 6, 2025
new 1.0.0 Apr 14, 2025