read_confounds.bids_project.Rd
read in fmriprep confound tables for one or more subjects
# S3 method for bids_project read_confounds( x, subid = ".*", task = ".*", session = ".*", cvars = DEFAULT_CVARS, npcs = -1, perc_var = -1, nest = TRUE )
subid | (optional) subid regex selector |
---|---|
task | (optional) task regex selector |
cvars | the names of the confound variables to select. If missing, defaults to a set defined by constant |
npcs | perform pca reduction on confound matrix and reduce to |
perc_var | perform pca reduction on confound matrix and retain |
nest | nest confound tables by subject/sesssion/run |