MFIerror: Multiple comparison of the temperature dependent variance of...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MFIerror.R

Description

MFIerror is used for a fast multiple comparison of the temperature dependent variance of the refMFI. MFIerror returns an object of the class data.frame with columns “Temperature”, “Location” (Mean, Median), “Deviation” (Standard Deviation, Median Absolute Deviation) and “Coefficient of Variation”.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
MFIerror(
  x,
  y,
  CV = FALSE,
  RSD = FALSE,
  rob = FALSE,
  errplot = TRUE,
  type = "p",
  pch = 19,
  length = 0.05,
  col = "black"
)

Arguments

x

is the column of a data frame for the temperature.

y

are multiple columns of fluorescence values from a data.frame (e.g., [, c(1:n)]).

CV

If CV is true the coefficient of variation (RSD, CV) is plotted. If set to FLASE the deviation as Standard Deviation or Median Absolute Deviation is plotted.

RSD

Setting the option RSD = TRUE shows the relative standard deviation (RSD) in percent.

rob

Using the option rob as TRUE the median and the median absolute deviation (MAD) is plotted instead of the mean and standard deviation.

errplot

sets MFIerror() to plot the results (default). In the default setting (CV = FALSE) the mean with the standard deviations is plotted.

type

is a graphical parameter setting the plot use lines, points or both (see plot).

pch

is a graphical parameter used to define the symbol used in the plot.

length

length is a graphical parameter used to define the length of the error bar used in the plot.

col

col is a graphical parameter used to define the color of the error bar used in the plot.

Value

res

returns a data.frame containing the "Temperature", "Location" (mean, median), "Deviation" (standard deviation, median absolute deviation), "Coefficient of Variance" (CV, RSD) sequential in the columns.

Author(s)

Stefan Roediger

See Also

mcaSmoother

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# First Example
# Temperature dependent variance of the refMFI using standard measures 
# (Mean, Standard Deviation (SD)).
# Use Standard Deviation (SD) in the plot

data(MultiMelt)
MFIerror(MultiMelt[, 1], MultiMelt[, c(2L:13)])

# Second Example
# Temperature dependent relative variance of the refMFI using robust 
# measures (Median, Median Absolute Deviation (MAD)). The parameter 
# errplot is set to FALSE in order to prevent the plot of the 
# coefficient of variation versus the temperature.

MFIerror(MultiMelt[, 1], MultiMelt[, c(2L:13)], errplot = FALSE, 
	  RSD = TRUE, rob = TRUE)

# Third Example
# Temperature dependent relative variance of the refMFI using 
# robust measures (Median, Median Absolute Deviation (MAD)).
MFIerror(MultiMelt[, 1], MultiMelt[, c(2L:13)], RSD = TRUE, 
  rob = TRUE)

MBmca documentation built on Sept. 5, 2021, 5:38 p.m.