KAT.plot: Plots multiple image slices.

Description Usage Arguments Details Author(s) Examples

View source: R/KAT.plot.R

Description

Plots multiple image slices on the same color scale within a single PDF file.

Usage

1
2
KAT.plot(F1=0, F2=0, F3=0, F4=0, F5=0, F6=0, F7=0,
F8=0, plot.param="Ktrans", range.map = 1.5, cutoff.map=0.85, ...)

Arguments

F1

KAT output file containing parametric map 1.

F2

KAT output file containing parametric map 2.

F3

KAT output file containing parametric map 3.

F4

KAT output file containing parametric map 4.

F5

KAT output file containing parametric map 5.

F6

KAT output file containing parametric map 6.

F7

KAT output file containing parametric map 7.

F8

KAT output file containing parametric map 8.

plot.param

Which parameter will be plotted? Can be set to Ktrans, kep, vb or ve. (Default=Ktrans).

...

Arguments passed on to inner functions.

range.map

Specifies range of color scale relative to the max value within map (typically a value between 1 and 3; default=1.5).

cutoff.map

Truncate parametric map values by max value x cutoff (typically a value between 0 and 1; default=0.85).

Details

For n slices, 3 x n figure panels will be generated where n is the number of slices to be plotted. MAP is the parametric map for the slice of interest, while AIC is the model discrimination map for the slice of interest. ROI is the median contrast agent concentration-time profile over all voxels within the region of interest shown with associated estimated extended Tofts model parameters.

slice 1—-slice 2—-slice 3—-slice 4—-slice 5—-slice 6—-slice 7—-slice 8

[MAP]—[MAP]—[MAP]—[MAP]—[MAP]—[MAP]—[MAP]—[MAP]

[AIC]—–[AIC]—–[AIC]—–[AIC]——[AIC]—–[AIC]—–[AIC]—–[AIC]

[ROI]—–[ROI]—–[ROI]—–[ROI]—-[ROI]—–[ROI]—–[ROI]—–[ROI]

Author(s)

Gregory Z. Ferl

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Create temporary directory for example code output files
temp_dir <- tempdir(check=FALSE)
##
current_dir <- getwd()
setwd(temp_dir)
##
## Run example code
demo(KAT, ask=FALSE)
file1="KAT_benchmark_test-full_slice1.RData"
file2="KAT_benchmark_test-full_slice2.RData"
file3="KAT_benchmark_test-full_slice3.RData"
file4="KAT_benchmark_test-full_slice4.RData"
KAT.plot(F1=file1, F2=file2, F3=file3, F4=file4, export.matlab=FALSE)
##
setwd(current_dir)

KATforDCEMRI documentation built on Aug. 26, 2019, 9:03 a.m.