Description Usage Arguments Value Examples
Methods available to summarize the various S4 objects of ASICS package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## S4 method for signature 'Spectra'
show(object)
## S4 method for signature 'Spectra'
summary(object)
## S4 method for signature 'Spectra'
length(x)
## S4 method for signature 'Spectra'
dim(x)
## S4 method for signature 'ASICSResults'
show(object)
## S4 method for signature 'ASICSResults'
dim(x)
## S4 method for signature 'AnalysisResults'
show(object)
## S4 method for signature 'AnalysisResults'
summary(object)
|
object |
An object of class Spectra, PureLibrary, ASICSResults or AnalysisResults. |
x |
An object of class Spectra, PureLibrary or ASICSResults. |
A summary of the object, its length or its dimensions.
1 2 3 4 5 6 7 8 9 10 11 12 | # Import data and create object
current_path <- file.path(system.file("extdata", package = "ASICS"),
"spectra_example.txt")
spectra_data <- read.table(current_path, header = TRUE, row.names = 1)
spectra_obj <- createSpectra(spectra_data)
# Summary
summary(spectra_obj)
# Length
length(spectra_obj)
# Dimensions
dim(spectra_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.