qdecr_prep_mgh: Combine all MGH files into one object

Description Usage Arguments Value

View source: R/io_mgh.R

Description

Combine all MGH files into one object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)


slamballais/QDECR documentation built on Jan. 9, 2022, 1:22 p.m.