Skip to contents

R parity of morie.entheo_dmt.load_fmri_subject. Reads LongS{NN}{DMT|PCB}.mat and extracts the BOLD_AAL matrix (112 AAL regions x 840 TRs).

Usage

morie_entheo_load_fmri_subject(subject_id, condition = "DMT")

Arguments

subject_id

integer subject ID (e.g. 1, 2, 14).

condition

character: "DMT" (default) or "PCB".

Value

numeric matrix of shape (112, 840).

Examples

try(morie_entheo_load_fmri_subject(1L, "DMT"))
#> Error : DMT_Imaging dataset not found. Clone https://github.com/timmer500/DMT_Imaging.git or set the MORIE_DMT_IMAGING_ROOT environment variable.