workloopR: Analysis of Work Loops and Other Data from Muscle Physiology Experiments

Functions for the import, transformation, and analysis of data from muscle physiology experiments. The work loop technique is used to evaluate the mechanical work and power output of muscle. Josephson (1985) <doi:10.1242/jeb.114.1.493> modernized the technique for application in comparative biomechanics. Although our initial motivation was to provide functions to analyze work loop experiment data, as we developed the package we incorporated the ability to analyze data from experiments that are often complementary to work loops. There are currently three supported experiment types: work loops, simple twitches, and tetanus trials. Data can be imported directly from .ddf files or via an object constructor function. Through either method, data can then be cleaned or transformed via methods typically used in studies of muscle physiology. Data can then be analyzed to determine the timing and magnitude of force development and relaxation (for isometric trials) or the magnitude of work, net power, and instantaneous power among other things (for work loops). Although we do not provide plotting functions, all resultant objects are designed to be friendly to visualization via either base-R plotting or 'tidyverse' functions. This package has been peer-reviewed by rOpenSci (v. 1.1.0).

Version: 1.1.4
Imports: pracma (≥ 2.0.7), signal (≥ 0.7-6)
Suggests: testthat (≥ 2.1.1), knitr, rmarkdown, dplyr, ggplot2, magrittr, purrr, tidyr
Published: 2021-05-06
DOI: 10.32614/CRAN.package.workloopR
Author: Vikram B. Baliga ORCID iD [aut, cre], Shreeram Senthivasan ORCID iD [aut], Julia Romanowska [rev] (Julia reviewed the package for rOpenSci , see <>), Eric Brown [rev] (Eric reviewed the package for rOpenSci , see <>)
Maintainer: Vikram B. Baliga <vbaliga87 at>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: workloopR citation info
CRAN checks: workloopR results


Reference manual: workloopR.pdf
Vignettes: Analyzing work loop experiments in workloopR
Working with isometric experiments in workloopR
Introduction to workloopR
Plotting data in workloopR
Batch processing
Importing data from non .ddf sources


Package source: workloopR_1.1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): workloopR_1.1.4.tgz, r-oldrel (arm64): workloopR_1.1.4.tgz, r-release (x86_64): workloopR_1.1.4.tgz, r-oldrel (x86_64): workloopR_1.1.4.tgz


Please use the canonical form to link to this page.