Learn R Programming

ASICS (version 1.0.1)

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

Description

S4 methods to represent results of ASICS.

Usage

# S4 method for resASICS
present_metabolites(object)

# S4 method for resASICS original_mixture(object)

# S4 method for resASICS reconstituted_mixture(object)

# S4 method for resASICS ppm_grid(object)

Arguments

object

an object of class resASICS

Value

The respective slot from resASICS object.

Examples

Run this code
# 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)

#Identified metabolites
present_metabolites(result)

# }

Run the code above in your browser using DataLab