stackplot.fit_result: Plot the fitting results of an object of class 'fit_result'...

Description Usage Arguments

View source: R/fit_display.R

Description

Plot the fitting results of an object of class fit_result with individual basis set components shown.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## S3 method for class 'fit_result'
stackplot(
  x,
  xlim = NULL,
  y_offset = 0,
  dyn = 1,
  x_pos = 1,
  y_pos = 1,
  z_pos = 1,
  coil = 1,
  n = NULL,
  sub_bl = FALSE,
  labels = FALSE,
  label_names = NULL,
  sig_col = "black",
  restore_def_par = TRUE,
  omit_signals = NULL,
  combine_lipmm = FALSE,
  combine_metab = FALSE,
  mar = NULL,
  ...
)

Arguments

x

fit_result object.

xlim

the range of values to display on the x-axis, eg xlim = c(4,1).

y_offset

separate basis signals in the y-axis direction by this value.

dyn

the dynamic index to plot.

x_pos

the x index to plot.

y_pos

the y index to plot.

z_pos

the z index to plot.

coil

the coil element number to plot.

n

single index element to plot (overrides other indices when given).

sub_bl

subtract the baseline from the data and fit (logical).

labels

print signal labels at the right side of the plot.

label_names

provide a character vector of signal names to replace the defaults determined from the basis set.

sig_col

colour of individual signal components.

restore_def_par

restore default plotting par values after the plot has been made.

omit_signals

a character vector of basis signal names to be removed from the plot.

combine_lipmm

combine all basis signals with names starting with "Lip" or "MM".

combine_metab

combine all basis signals with names not starting with "Lip" or "MM".

mar

option to adjust the plot margins. See ?par.

...

further arguments to plot method.


neuroconductor-releases/spant documentation built on Jan. 1, 2021, 11:42 a.m.