Learn R Programming

freesurferformats (version 0.1.18)

read.nifti2.header.internal: Read NIFTI v2 header from file.

Description

Read NIFTI v2 header from file.

Usage

read.nifti2.header.internal(filepath, little_endian = TRUE)

Value

named list with NIFTI 2 header fields.

Arguments

filepath

path to a NIFTI v2 file.

little_endian

internal logical, leave this alone. Endianness will be figured out automatically, messing with this parameter only hurts.