resASICS-methods: S4 methods to represent results of ASICS.

Description Usage Arguments Value See Also Examples

Description

S4 methods to represent results of ASICS.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S4 method for signature 'resASICS'
summary(object, ...)

## S4 method for signature 'resASICS'
show(object)

## S4 method for signature 'resASICS'
print(x)

## S4 method for signature 'resASICS'
plot(x, y, xmin = 0.5, xmax = 10, ymin = 0,
  ymax = NULL, add_metab = NULL)

Arguments

object

an object of class resASICS

...

not used

x

an object of class resASICS

y

not used

xmin, xmax, ymin, ymax

lower and upper bounds for x and y, respectively

add_metab

name of one metabolite to add to the plot. Default to NULL (no pure spectrum added to the plot)

Value

plot the true and recomposed (as estimated by ASICS) spectra on one figure. In addition, one pure metabolite spectrum (as provided in the reference library) can be superimposed to the plot.

See Also

ASICS resASICS-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
cur_path <- system.file("extdata", "example_spectra", "AG_faq_Beck01",
                        package = "ASICS")
to_exclude <- matrix(c(4.5,5.1,5.5,6.5), ncol = 2, byrow = TRUE)
result <- ASICS(path = cur_path, exclusion.areas = to_exclude)

result
summary(result)
plot(result)


## End(Not run)

ASICS documentation built on Jan. 23, 2018, 5:51 p.m.