get_mr_abspath: small helper function to pull absolute paths to a given...

View source: R/glm_helper_functions.R

get_mr_abspathR Documentation

small helper function to pull absolute paths to a given column in run_data or trial_data

Description

small helper function to pull absolute paths to a given column in run_data or trial_data

Usage

get_mr_abspath(mr_df, col = "run_nifti")

Arguments

mr_df

a data.frame from a gpa object, following standard variable mapping nomenclature

col

a character string denoting the column in mr_df to be used for looking up absolute paths

Details

Note that if a given value of the requested column is an absolute path, it will not be combined with $mr_dir to generate the combined path. Thus, the col in mr_df can contain a mixture of relative an absolute paths. The relative paths will be combined with

Value

Absolute paths to all files in the specified col


UNCDEPENdLab/fmri.pipeline documentation built on April 3, 2025, 3:21 p.m.