MRIaggr-initNum: Initialization of the slice numbers

Description Usage Arguments Details

Description

Check and initialize the num argument of a Carto3D or a MRIaggr method. For internal use.

Usage

1
2
3
4
5
## S4 method for signature 'Carto3D'
initNum(object, num, test = TRUE, init = TRUE, method)

## S4 method for signature 'MRIaggr'
initNum(object, num, test = TRUE, init = TRUE, slice_var = "k", method)

Arguments

object

an object of class Carto3D or MRIaggr.

num

the slice numbers to check or initialize. numeric vector or NULL. See the details section.

test

should the slice numbers be checked ? logical.

init

should the slice numbers be initialized if num equals NULL ? logical.

slice_var

the type of slice to extract. "i" for sagittal, "j" for coronal and "k" for transverse. character.

method

the name of the function that called the initializer. character.

Details

ARGUMENTS :
Setting num to NULL leads to load all available slices.


bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.