Learn R Programming

fslr (version 1.3)

fslhd.parse: Parse FSL Header

Description

This function takes in a FSL header and parses the components

Usage

fslhd.parse(hd)

Arguments

hd
(character) header from fslhd

Value

  • data.frame of information from FSL header

Examples

Run this code
if (have.fsl()){
 mnifile = file.path(fsldir(), "data", "standard",
   "MNI152_T1_2mm.nii.gz")
 hd = fslhd(mnifile)
 fslhd.parse(hd)
}

Run the code above in your browser using DataLab