PrepNiiConnMetric: PrepNiiConnMetric - A function for loading nifti connectivity...

Description Usage Arguments Examples

View source: R/PrepNiiConnMetric.R

Description

This function is a simple wrapper for reading connectivity matrices from niftis. The function will check to see whether the qform is needed before loading in the data. Generally, the qform shouldn't be needed, if it is used, there may be a warning when using the dataset.

Usage

1
PrepNiiConnMetric(niiconn_file, flip = TRUE)

Arguments

niiconn_file

A character string representing the path to a nifti connectivity matrix file.

flip

A boolean representing TRUE or FALSE. If set to TRUE, will rotate the matrix 180 degrees so that it is ordered properly with a parcel file

Examples

1
2
niftifile <- PrepNiiConnMetric(nifti_file)
niftifiles <- lapply(nifti_filelist,PrepNiiConnMetric)

DCAN-Labs/MarginalModelCIFTI documentation built on Nov. 30, 2021, 3:40 p.m.