Skip to contents

Convenience bridge that forwards to PhysioHDEMG::hdEMGDecompose() for high-density surface EMG motor-unit decomposition by convolutive blind source separation. The PhysioHDEMG package must be installed. See PhysioHDEMG::hdEMGDecompose() for the full argument list and return value.

Usage

hdEMGDecompose(x, ...)

Arguments

x

HD-sEMG data: an n_time x n_channels matrix, a PhysioExperiment, or an hdemg_sim object.

...

Further arguments passed to PhysioHDEMG::hdEMGDecompose().

Value

An hdemg_decomposition object (see PhysioHDEMG).

See also

muscleSynergy() for whole-muscle synergy decomposition.

Examples

# Requires the optional PhysioHDEMG backend (Suggests).
if (requireNamespace("PhysioHDEMG", quietly = TRUE)) {
  sim <- PhysioHDEMG::make_hdemg_sim(n_units = 2, duration_sec = 1)
  dec <- hdEMGDecompose(sim, n_units = 4)
}