srtm2xlsx: Extract data from srtmresults files into a single...

View source: R/pipelinederivative_outputs.R

srtm2xlsxR Documentation

Extract data from srtmresults files into a single spreadsheet.

Description

Extract outcome parameters from a folder of srtmresults files. We could use the raw mat files, but they take ages to load into R. It is therefore better to run the SRTMresults scripts in MATLAB to generate the text files first, and then to get the data out of the text files.

Usage

srtm2xlsx(
  studyflag = F,
  filesflag = NULL,
  filepattern = "*_kinfitresults.mat.txt"
)

Arguments

studyflag

Logical: is there a study name flag on each filename (e.g. Study1_abcd_kinfitresults)

filesflag

Character: should the output be saved with a special filename flag. Default is NULL.

filepattern

Character: pattern to identify the srtmresults txt files.

Value

Creates an xlsx file with the outcome parameters for each subject for all subjects in a directory.

Examples

srtm2xlsx()


mathesong/kipettools documentation built on Feb. 5, 2024, 10:10 p.m.