SynergyAnalyzer: A Matlab toolbox implementing mixed-matrix factorization to identify kinematic-muscular synergies

Comput Methods Programs Biomed. 2024 Jun:251:108217. doi: 10.1016/j.cmpb.2024.108217. Epub 2024 May 7.

Abstract

Background and objective: A new direction in the study of motor control was opened about two decades ago with the introduction of a model for the generation of motor commands as combination of muscle synergies. Muscle synergies provide a simple yet quantitative framework for analyzing the hierarchical and modular architecture of the human motor system. However, to gain insights on the functional role of muscle synergies, they should be related to the task space. The recently introduced mixed-matrix factorization (MMF) algorithm extends the standard approach for synergy extraction based on non-negative matrix factorization (NMF) allowing to factorize data constituted by a mixture of non-negative variables (e.g. EMGs) and unconstrained variables (e.g. kinematics, naturally including both positive and negative values). The kinematic-muscular synergies identified by MMF provide a direct link between muscle synergies and the task space. In this contribution, we support the adoption of MMF through a Matlab toolbox for the extraction of kinematic-muscular synergies and a set of practical guidelines to allow biomedical researchers and clinicians to exploit the potential of this novel approach.

Methods: MMF is implemented in the SynergyAnalyzer toolbox using an object-oriented approach. In addition to the MMF algorithm, the toolbox includes standard methods for synergy extraction (NMF and PCA), as well as methods for pre-processing EMG and kinematic data, and for plotting data and synergies.

Results: As an example of MMF application, kinematic-muscular synergies were extracted from EMG and kinematic data collected during reaching movements towards 8 targets on the sagittal plane. Instructions and command lines to achieve such results are illustrated in detail. The toolbox has been released as an open-source software on GitHub under the GNU General Public License.

Conclusions: Thanks to its ease of use and adaptability to a variety of datasets, SynergyAnalyzer will facilitate the adoption of MMF to extract kinematic-muscular synergies from mixed EMG and kinematic data, a useful approach in biomedical research to better understand and characterize the functional role of muscle synergies.

Keywords: Functional synergies; Kinematic-muscular synergies; Matlab toolbox; Mixed-matrix factorization; Muscle synergies; Non-negative matrix factorization.

MeSH terms

  • Algorithms*
  • Biomechanical Phenomena
  • Electromyography* / methods
  • Humans
  • Muscle, Skeletal* / physiology
  • Software