the contrast parameter(s) associated with the lesion mask(s). character vector. REQUIRED.
mask
the binary contrast parameter(s) defining the spatial group(s). character vector. REQUIRED.
num
the slices to consider. numeric vector or NULL.
rescale
should the contrast parameters be scaled ? logical.
ylim
the y limits of the plot. numeric vector of size 2 or NULL leading to automatic setting of the y limits.
col
the colors of the boxplots for observations inside and outside the mask(s). character vector of size 2.
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.
x.legend
the x coordinates of the legend. numeric or character.
y.legend
the y coordinates of the legend. numeric or character.
cex.legend
the expansion factor of the legend. 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 mgp argument can be found in par.
Information about the x.legend, y.legend, cex.legend arguments can be found in legend (cex.legend is the cex argument of legend).
Arguments ... must correspond to some of the following arguments : height, hemisphere, norm_mu, norm_sigma, numeric2logical, path, res, unit, width, window.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(MRIaggr)
Loading required package: Rcpp
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MRIaggr/MRIaggr-boxplotMask.Rd_%03d_medium.png", width=480, height=480)
> ### Name: boxplotMask
> ### Title: Boxplot spatial group characteristics
> ### Aliases: boxplotMask boxplotMask,MRIaggr-method
> ### Keywords: methods
>
> ### ** Examples
>
> ## load a MRIaggr object
> data("MRIaggr.Pat1_red", package = "MRIaggr")
>
> ## display
> boxplotMask(MRIaggr.Pat1_red, param = c("DWI_t0","TTP_t0","MTT_t0"),mask = "MASK_T2_FLAIR_t2",
+ numeric2logical = TRUE)
>
>
>
>
>
> dev.off()
null device
1
>