MRIaggr-plotTableLesion: Lesion volume displayed by slices

Description Usage Arguments Details Value Examples

Description

Display the lesion volume by slices using the table_lesion slot.

Usage

1
2
3
4
5
6
## S4 method for signature 'MRIaggr'
plotTableLesion(object, mask, num = NULL, type = "matplot",
         col = 1:5, lty = 1:5, lwd = 1, mgp = c(2,0.5,0), mar = rep(3,4),
         main = paste("lesion - ", object@identifier, sep = ""),
         cex.legend = 1, cex.main = 1, cex.axis = 1, cex.lab = 1,
         filename = paste(object@identifier, "plotTableLesion", sep = "_"), ...)

Arguments

object

an object of class MRIaggr. REQUIRED.

mask

the binary contrast parameter indicating the lesion. character. REQUIRED.

num

the slices to display. numeric vector or NULL.

type

the type of plot to display. Can be "matplot" or "evolution".

col

the colors with which the volumes will be displayed. character vector or numeric vector.

lty

the line type used to represent the volume. numeric vector.

lwd

the line width. postive numeric.

main

an overall title for the plot. character.

mgp

the margin line for the axis title, axis labels and axis line. positive numeric vector of size 3.

mar

the number of margin lines to be specified on the four sides of the plot. positive numeric vector of size 4.

cex.main

the expansion factor for the main title. numeric.

cex.legend

the expansion factor of the legend. positive numeric.

cex.axis

the magnification to be used for axis annotation relative to the current setting of cex. positive numeric.

cex.lab

the magnification to be used for x and y labels relative to the current setting of cex. positive numeric.

filename

the name of the file used to export the plot. character.

...

additional arguments to be passed to optionsMRIaggr for specifying the graphical parameters.

Details

ARGUMENTS:
Information about the num argument can be found in the details section of initNum.

Information about the lty, lwd, mar and mgp arguments can be found in par.

Argument(s) ... must correspond to some of the following arguments : height, numeric2logical, path, res, unit, width, window.

ARGUMENTS:
Require to have previously filled object@table_lesion. This can be done using the calcTableLesion method.

Value

None.

Examples

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

## matplot display of the lesion
plotTableLesion(MRIaggr.Pat1_red, num = 1:3, type = "matplot",
                 mask = c("MASK_DWI_t0", "MASK_T2_FLAIR_t2"))

## evolution display of the lesion
plotTableLesion(MRIaggr.Pat1_red, num = 1:3, type = "evolution",
                mask = c("MASK_DWI_t0", "MASK_T2_FLAIR_t2"))

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