read.nifti.files: STEP 1 IN PNC ANALYSIS - READ IN NIFTI FILE Function...

Description Usage Arguments Value

View source: R/code_step1.R

Description

STEP 1 IN PNC ANALYSIS - READ IN NIFTI FILE Function summarizes imaging from nifti files into 264 regions with corresponding time series

Usage

1
2
3
4
5
6
7
8
read.nifti.files(
  file.names,
  path = NULL,
  method = "average",
  resolution = 2,
  template = NULL,
  PNC = FALSE
)

Arguments

file.names

provide names of files

path

optional path of files, needs to be included if path to files is not included in file.names

method

method for summarizing within region. Default is averaging all voxels in a given region, "pca" also available if using the first prinicipal component.

resolution

resolution of images. Template provided for 2mm and 3mm resolution, default is 2.

template

option to provide an alternative template if not using standard 2mm or 3mm ones provided.

PNC

option to specify is using PNC raw data, which needs to be converted to standard coordinates.

Value

List of files containing region level voxel summaries for each subject.


EmilyLMorris/ImagingPred documentation built on June 19, 2021, 9:33 p.m.