niftiHeaderR6: Class with header information from a NIfTI file

Description Usage Format Value Fields Methods Examples

Description

Class with header information from a NIfTI file

Usage

1

Format

R6Class object.

Value

Object of R6Class with information on a NIfTI file

Fields

sizeof_hdr

nifti header slot

data_type

nifti header slot

db_name

nifti header slot

extents

nifti header slot

session_error

nifti header slot

regular

nifti header slot

dim_info

nifti header slot

dims

nifti header slot

intent_p1

nifti header slot

intent_p2

nifti header slot

intent_p3

nifti header slot

intent_code

nifti header slot

datatype

nifti header slot

bitpix

nifti header slot

slice_start

nifti header slot

pixdim

nifti header slot

vox_offset

nifti header slot

scl_slope

nifti header slot

scl_inter

nifti header slot

slice_end

nifti header slot

slice_code

nifti header slot

xyzt_units

nifti header slot

cal_max

nifti header slot

cal_min

nifti header slot

slice_duration

nifti header slot

toffset

nifti header slot

glmax

nifti header slot

glmin

nifti header slot

descrip

nifti header slot

aux_file

nifti header slot

qform_code

nifti header slot

sform_code

nifti header slot

quatern_b

nifti header slot

quatern_c

nifti header slot

quatern_d

nifti header slot

qoffset_x

nifti header slot

qoffset_y

nifti header slot

qoffset_z

nifti header slot

srow_x

nifti header slot

srow_y

nifti header slot

srow_z

nifti header slot

intent_name

nifti header slot

magic

nifti header slot

extension_char

nifti header slot

extension_data

nifti header slot

Methods

show()

Shows header info

readHeader(filename)

Reads in header info

writeHeader()

Writes header info to file

changeDatatype(datatype)

sets the data type + bitpix according a nifti-code (numeric or string)

Examples

1
niftiHeader <- niftiHeaderR6$new()

wdweeda/niftiR6 documentation built on Jan. 31, 2022, 5:09 p.m.