infer_format_ifti_vec {fMRItools} | R Documentation |
Infer fMRI data format for several inputs
Description
Vectorized version of infer_format_ifti
. Expects all inputs
to have the same format.
Usage
infer_format_ifti_vec(BOLD, verbose = FALSE)
Arguments
BOLD |
The vector of fMRI data, expected to be of one format |
verbose |
Print the format? Default: |
Details
Raises an error if the elements of BOLD
do not share the same format.
Value
A length-two vector. The first element indicates the format:
"CIFTI"
file path, "xifti"
object,
"GIFTI"
file path, "gifti"
object,
"NIFTI"
file path, "nifti"
object,
"RDS"
file path, or "data"
. The second element indicates
the sub-format if relevant; i.e. the type of CIFTI or GIFTI file/object.
[Package fMRItools version 0.4.7 Index]