Summarize important info from work loop files stored in the same folder
(e.g. a sequence of trials in an experiment) including experimental
parameters, run order, and
data.frame of information about the collection of workloop files.
Name of the file
Frequency of Position change
amplitude of Position change
Phase of the oscillatory cycle (in percent) at which stimulation occurred. Somewhat experimental, please use with caution
Number of stimulation pulses
Time at which file's contents were last changed (
Mean work output from the selected cycles
Net power output from the selected cycles
If several files (e.g. successive trials from one experiment) are
stored in one folder, use this function to obtain summary stats and
metadata and other parameters. This function requires a list of
analyze_workloop objects, which can be readily obtained by first
read_analyze_wl_dir() on a specified directory.
Josephson RK. 1985. Mechanical Power output from Striated Muscle during Cyclic Contraction. Journal of Experimental Biology 114: 493-512.
Vikram B. Baliga and Shreeram Senthivasan
library(workloopR) # batch read and analyze files included with workloopR analyzed_wls <- read_analyze_wl_dir(system.file("extdata/wl_duration_trials", package = 'workloopR'), phase_from_peak = TRUE, cycle_def = "p2p", keep_cycles = 2:4 ) # now summarize summarized_wls <- summarize_wl_trials(analyzed_wls)