QDECR

Reference

qdecr_prep_mgh

Combine all MGH files into one object

On this page

Usage

R
qdecr_prep_mgh(
  input_path,
  files_list = list.files(input_path),
  mask,
  hemi,
  measure,
  fwhmc,
  target,
  n_cores,
  dir_tmp,
  project,
  backing,
  verbose
)

Arguments

input_path

path to parent directory

files_list

file names within input.list

mask

mask to be used in later steps (i.e. analysis)

hemi

"lh" or "rh"

measure

vertex measure (e.g. "thickness")

fwhmc

the fwhm value in full notation (i.e. 20, 23, 30, etc)

target

the target template (usually "fsaverage")

n_cores

the number of cores to be used

dir_tmp

directory to store the temporary big matrices; useful for shared memory; defaults to dir_out

project

the base name you want to assign to the output files

backing

the path to the backing file

verbose

if TRUE, writes out standard log; if FALSE, no output is generated

Value

matrix with vertex data (columns) for each file (rows)