Package ASICS. January 23, 2018

Similar documents
Package datasets.load

Package RNAseqNet. May 16, 2017

Package SEMrushR. November 3, 2018

Package ECctmc. May 1, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package WordR. September 7, 2017

Package bisect. April 16, 2018

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package gtrendsr. October 19, 2017

Package effectr. January 17, 2018

Package fastdummies. January 8, 2018

Package weco. May 4, 2018

Package gtrendsr. August 4, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package preprosim. July 26, 2016

Package rsppfp. November 20, 2018

Package fastqcr. April 11, 2017

Package validara. October 19, 2017

Package docxtools. July 6, 2018

Package TrafficBDE. March 1, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package omu. August 2, 2018

Package shinyfeedback

Package canvasxpress

Package catenary. May 4, 2018

Package NFP. November 21, 2016

Package geogrid. August 19, 2018

Package DCD. September 12, 2017

Package manet. September 19, 2017

Package metaheur. June 30, 2016

Package balance. October 12, 2018

Package geneslope. October 26, 2016

Package queuecomputer

Package reval. May 26, 2015

Package quadprogxt. February 4, 2018

Package pomdp. January 3, 2019

Package robotstxt. November 12, 2017

Package TrajDataMining

Package githubinstall

Package calpassapi. August 25, 2018

Package svalues. July 15, 2018

Package fusionclust. September 19, 2017

Package barcoder. October 26, 2018

Package IATScore. January 10, 2018

Package aop. December 5, 2016

Package facerec. May 14, 2018

Package MetaLonDA. R topics documented: January 22, Type Package

Package editdata. October 7, 2017

Package wrswor. R topics documented: February 2, Type Package

Package LCF. November 22, 2017

Package PUlasso. April 7, 2018

Package opencage. January 16, 2018

Package edfreader. R topics documented: May 21, 2017

Package spelling. December 18, 2017

Package profvis. R topics documented:

Package ggmosaic. February 9, 2017

Package quickreg. R topics documented:

Package dgo. July 17, 2018

Package meme. December 6, 2017

Package EvolutionaryGames

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package knitrprogressbar

Package nmslibr. April 14, 2018

Package sfc. August 29, 2016

Package sigmanet. April 23, 2018

Package zoomgrid. January 3, 2019

Package QCAtools. January 3, 2017

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package enpls. May 14, 2018

Package kdtools. April 26, 2018

Package tidylpa. March 28, 2018

Package qualmap. R topics documented: September 12, Type Package

Package patentsview. July 12, 2017

Package sigqc. June 13, 2018

Package GetHFData. November 28, 2017

Package Numero. November 24, 2018

Package packcircles. April 28, 2018

Package epitab. July 4, 2018

Package dalmatian. January 29, 2018

Package RndTexExams. R topics documented:

Package messaging. May 27, 2018

Package jstree. October 24, 2017

Package linkspotter. July 22, Type Package

Package ecoseries. R topics documented: September 27, 2017

Package data.world. April 5, 2018

Package rxylib. December 20, 2017

Package SSLASSO. August 28, 2018

Package longclust. March 18, 2018

Package lucid. August 24, 2018

Package shiny.semantic

Package tuts. June 12, 2018

Package wdman. January 23, 2017

Package fitbitscraper

Package cosinor. February 19, 2015

Package vip. June 15, 2018

Package RMCriteria. April 13, 2018

Package tidytransit. March 4, 2019

Package meme. November 2, 2017

Package modules. July 22, 2017

Transcription:

Type Package Package ASICS January 23, 2018 Title Automatic Statistical Identification in Complex Spectra Version 1.0.1 With a set of pure metabolite spectra, ASICS quantifies metabolites concentration in a complex spectrum. The identification of metabolites is performed by fitting a mixture model to the spectra of the library with a sparse penalty. The method and its statistical properties are described in Tardivel et al. (2017) <doi:10.1007/s11306-017-1244-5>. Depends R (>= 2.14) Imports doparallel, ggplot2, foreach, methods, parallel, plyr, quadprog, zoo License GPL (>= 2) Encoding UTF-8 LazyData true RoxygenNote 6.0.1 Suggests knitr, rmarkdown VignetteBuilder knitr NeedsCompilation no Author Gaëlle Lefort [aut, cre], Rémi Sevien [aut], Patrick Tardivel [aut], Nathalie Villa-Vialaneix [aut] Maintainer Gaëlle Lefort <gaelle.lefort@inra.fr> Repository CRAN Date/Publication 2018-01-23 13:57:21 UTC R topics documented: ASICS............................................ 2 ASICSUsersGuide..................................... 3 1

2 ASICS ASICS_multiFiles...................................... 4 extract_concentrations................................... 5 pure_library......................................... 5 resasics-class....................................... 6 resasics-getters...................................... 7 resasics-methods..................................... 8 Index 10 ASICS Automatic Statistical Identification in Complex Spectra Quantification of 1D 1H NMR spectrum with ASICS method using a library of 175 pure metabolite spectra. The method is presented in Tardivel et al. (2017). ASICS(path, exclusion.areas = matrix(c(4.5, 5.1), ncol = 2), max.shift = 0.02, which.spectra = "last", library.metabolites = NULL, threshold.noise = 0.02, seed = 1234, nb.iter.signif = 400) Arguments path folder path of the Bruker files exclusion.areas definition domain of spectra to exclude (ppm) max.shift maximum chemical shift allowed (in ppm) which.spectra if more than one spectra by sample, spectra used to perform the quantification (either "first", "last" or its number). Default to "last" library.metabolites path of the library containing the references (pure metabolite spectra). If NULL, the library included in the package is used threshold.noise threshold for signal noise seed random seed to control randomness in the algorithm (used in the estimation of significativity of a given metabolite concentration) nb.iter.signif number of iterations for the estimation of significativity of a given metabolite concentration. Default to 400 An object of type resasics-class

ASICSUsersGuide 3 References Tardivel P., Canlet C., Lefort G., Tremblay-Franco M., Debrauwer L., Concordet D., Servien R. (2017). ASICS: an automatic method for identification and quantification of metabolites in complex 1D 1H NMR spectra. Metabolomics, 13(10): 109. https://doi.org/10.1007/s11306-017-1244-5 See Also resasics-class ASICS_multiFiles pure_library ## 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) ## End(Not run) ASICSUsersGuide View ASICS User s Guide Open the ASICS User s Guide (with default browser) ASICSUsersGuide() Details The function vignette("asics") will find the short ASICS vignette that describes the main functions and how to obtain the ASICS User s Guide. The User s Guide is not itself a true vignette because it is not automatically generated during the package build process. If the operating system is not Windows, then the HTML viewer used is the one given by Sys.getenv("R_BROWSER"). The HTML viewer can be changed using Sys.setenv(R_BROWSER = ). Open the ASICS User s Guide ## Not run: ASICSUsersGuide()

4 ASICS_multiFiles ASICS_multiFiles Automatic Statistical Identification in Complex Spectra for many files Compute ASICS on multiple spectra of a folder. ASICS_multiFiles(name.dir, ncores = 1,...) Arguments name.dir ncores folder path of the Bruker files number of cores to use. Default to 1 (no parallel processing)... further arguments to be passed to the function ASICS for specifying the parameters of the algorithm A list containing ASICS results for each spectrum. See Also ASICS, resasics-class pure_library ## Not run: cur_path <- system.file("extdata", "example_spectra", package = "ASICS") to_exclude <- matrix(c(4.5,5.1,5.5,6.5), ncol = 2, byrow = TRUE) res_multi <- ASICS_multiFiles(name.dir = cur_path, exclusion.areas = to_exclude) ## End(Not run)

extract_concentrations 5 extract_concentrations Extract concentrations Combine results of the multiple file ASICS function to obtain quantified relative concentrations of metabolites for each spectrum in one dataset extract_concentrations(res_asics) Arguments res_asics result of the ASICS_multiFiles function A data frame containing relative concentrations of identified metabolites for each spectrum ## Not run: cur_path <- system.file("extdata", "example_spectra", package = "ASICS") to_exclude <- matrix(c(4.5,5.1,5.5,6.5), ncol = 2, byrow = TRUE) res_multi <- ASICS_multiFiles(name.dir = cur_path, exclusion.areas = to_exclude, ncores = 2) # extract relative concentrations quantification <- extract_concentrations(res_multi) ## End(Not run) pure_library Pure spectra library The 1D 1H NMR spectra of 175 reference compounds were collected to build the spectral library. These compounds have been prepared and recorded using a Bruker Avance III HD spectrometer in the MetaToul - AXIOM Site at Toulouse (France).

6 resasics-class Format A list of 4 elements: name names of the metabolites grid common grid for all spectra spectra a data frame with each pure metabolite spectrum in column nb_protons number of protons of each metabolite References Tardivel P., Canlet C., Lefort G., Tremblay-Franco M., Debrauwer L., Concordet D., Servien R. (2017). ASICS: an automatic method for identification and quantification of metabolites in complex 1D 1H NMR spectra. Metabolomics, 13(10): 109. https://doi.org/10.1007/s11306-017-1244-5 resasics-class An S4 class to represent results of ASICS. An S4 class to represent results of ASICS. Slots original_mixture original spectrum reconstituted_mixture reconstituted spectrum with estimated concentrations ppm_grid grid (definition domain) of the spectrum (in ppm) present_metabolites a data frame with identified metabolites and their relative concentrations Note Slots can be accessed by accessor functions with the same name (see resasics-getters). See Also ASICS resasics-methods

resasics-getters 7 resasics-getters S4 methods to represent results of ASICS. S4 methods to represent results of ASICS. present_metabolites(object) original_mixture(object) reconstituted_mixture(object) ppm_grid(object) Arguments object an object of class resasics The respective slot from resasics object. ## 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) ## End(Not run)

8 resasics-methods resasics-methods S4 methods to represent results of ASICS. S4 methods to represent results of ASICS. summary(object,...) show(object) print(x) plot(x, y, xmin = 0.5, xmax = 10, ymin = 0, ymax = NULL, add_metab = NULL) Arguments object... not used x y an object of class resasics an object of class resasics 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) 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

resasics-methods 9 ## 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)

Index ASICS, 2, 4, 6, 8 ASICS_multiFiles, 3, 4, 5 ASICSUsersGuide, 3 extract_concentrations, 5 original_mixture (resasics-getters), 7 original_mixture,resasics-method (resasics-getters), 7 plot,resasics-method (resasics-methods), 8 plot.resasics (resasics-methods), 8 ppm_grid (resasics-getters), 7 ppm_grid,resasics-method (resasics-getters), 7 present_metabolites (resasics-getters), 7 present_metabolites,resasics-method (resasics-getters), 7 print,resasics-method (resasics-methods), 8 print.resasics (resasics-methods), 8 pure_library, 3, 4, 5 reconstituted_mixture (resasics-getters), 7 reconstituted_mixture,resasics-method (resasics-getters), 7 resasics-class, 6 resasics-getters, 6, 7 resasics-methods, 8 show,resasics-method (resasics-methods), 8 show.resasics (resasics-methods), 8 summary,resasics-method (resasics-methods), 8 summary.resasics (resasics-methods), 8 10