View source: R/read_cifti_header.R
| cifti.file.looks.like.cifti2 | R Documentation |
Cheap and silent check whether a file is a CIFTI-2 file, i.e. a NIFTI v2
file with a header extension of code 32, the extension that holds the CIFTI XML
metadata. The format dispatchers (read.fs.morph(), read.fs.volume()) use it to
give a helpful error: the payload of a CIFTI-2 file is a matrix whose dimensions the
XML describes, not a volume or a per-vertex vector, so reading it with the NIFTI
reader silently returns values in an order that means nothing.
cifti.file.looks.like.cifti2(filepath)
filepath |
character string, the path to a CIFTI-2 file (usually one of
|
logical, whether the file is a CIFTI-2 file. A file that does not exist or
cannot be parsed is reported as FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.