ChemoSpec đ âĄď¸ đľ hyperSpec
Arguments
- Spectra
ChemoSpec::Spectra()object.- ...
Arguments passed on to
hyperSpec::hyperSpecgc(logical)
Use garbage collection. If the optiongcis set toTRUE, the initialization will have frequent calls tobase::gc(), which can help avoid swapping or running out of memory. The default value ofgccan be set viahy_set_options().
Examples
suppressPackageStartupMessages(library(ChemoSpec))
data("alignMUD")
ChemoSpec_to_hyperSpec(alignMUD) |> str()
#> Warning: replacing previous import âlazyeval::is_langâ by ârlang::is_langâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::call_modifyâ by ârlang::call_modifyâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::is_callâ by ârlang::is_callâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::is_formulaâ by ârlang::is_formulaâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::as_nameâ by ârlang::as_nameâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_labelâ by ârlang::f_labelâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::is_atomicâ by ârlang::is_atomicâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::is_pairlistâ by ârlang::is_pairlistâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::call_standardiseâ by ârlang::call_standardiseâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::expr_textâ by ârlang::expr_textâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_env<-â by ârlang::f_env<-â when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_textâ by ârlang::f_textâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::missing_argâ by ârlang::missing_argâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_rhs<-â by ârlang::f_rhs<-â when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_rhsâ by ârlang::f_rhsâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_envâ by ârlang::f_envâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_lhs<-â by ârlang::f_lhs<-â when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::expr_labelâ by ârlang::expr_labelâ when loading âhyperSpecâ
#> Warning: replacing previous import âlazyeval::f_lhsâ by ârlang::f_lhsâ when loading âhyperSpecâ
#> Warning: replacing previous import ârlang::as_listâ by âxml2::as_listâ when loading âhyperSpecâ
#> Warning: replacing previous import âlatticeExtra::layerâ by âggplot2::layerâ when loading âhyperSpecâ
#> Formal class 'hyperSpec' [package "hyperSpec"] with 4 slots
#> ..@ wavelength: num [1:1500] 5 5 4.99 4.99 4.99 ...
#> ..@ data :'data.frame': 20 obs. of 5 variables:
#> .. ..$ groups : Factor w/ 1 level "S": 1 1 1 1 1 1 1 1 1 1 ...
#> .. ..$ colors : chr [1:20] "black" "black" "black" "black" ...
#> .. ..$ sym : num [1:20] 19 19 19 19 19 19 19 19 19 19 ...
#> .. ..$ alt.sym: chr [1:20] "+" "+" "+" "+" ...
#> .. ..$ spc : num [1:20, 1:1500] 0.01225 0.01043 0.00955 0.01113 0.01042 ...
#> .. .. ..- attr(*, "dimnames")=List of 2
#> .. .. .. ..$ : NULL
#> .. .. .. ..$ : chr [1:1500] "5" "4.99666" "4.99333" "4.98999" ...
#> ..@ label :List of 2
#> .. ..$ .wavelength: expression("ppm")
#> .. ..$ spc : expression("intensity")
#> ..@ log :'data.frame': 0 obs. of 0 variables
#> Formal class 'data.frame' [package "methods"] with 4 slots
#> .. .. ..@ .Data : list()
#> .. .. ..@ names : chr(0)
#> .. .. ..@ row.names: int(0)
#> .. .. ..@ .S3Class : chr "data.frame"
