MRIaggr-supprContrast: Remove a contrast parameter

Description Usage Arguments Details Value See Also Examples

Description

Remove a contrast parameter from a MRIaggr object.

Usage

1
2
3
## S4 replacement method for signature 'MRIaggr'
supprContrast(object,
         verbose = optionsMRIaggr("verbose")) <- value

Arguments

object

an object of class MRIaggr. REQUIRED.

value

the name of the parameter(s) that should be removed. character vector. REQUIRED.

verbose

should the execution of the function be traced ? logical.

Details

ARGUMENTS:
value can be a numeric vector indicating the position of the parameters to remove in the data slot.

Value

None.

See Also

allocContrast<- to allocate a contrast parameter.
selectParameter to display the contrast parameters.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")

## available contrast parameters
selectParameter(MRIaggr.Pat1_red)

## delete two contrast parameters
supprContrast(MRIaggr.Pat1_red) <- c("MTT_t0", "MASK_DWI_t0")

## remaining contrast parameters
selectParameter(MRIaggr.Pat1_red)

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