This package is the source code of the MISA algorithm, a strategy to annotate in-source fragments from the METLIN database.
This repository containts the source code, and a small sample MySQL database, only for developers. Users are encouraged to use the online version of MISA available at http://xcmsonline.scripps.edu
If you use the package MISA in your analysis and publications please cite:
Domingo-Almenara, X., Montenegro-Burke, J. R., Guijas, C., Majumder, E. L-W., Benton, H. P., Siuzdak, G. Autonomous METLIN-Guided In-source Fragment Annotation for Untargeted Metabolomics. Analytical Chemistry 91 (2019) 3246–3253. DOI: 10.1021/acs.analchem.8b03126
You need to have a MySQL installed in your computer. You can use the sample MySQL DB distributed with misaR, and install it in your computer.
You need to compile (requieres compilation using Rcpp) and install misaR.
R CMB build misaR
R CMD install misaR_0.1.0.tar.gz
You can use a diffreport from XCMSOnline with misaR, an execute it via:
library(misaR)
## SOFTWARE PARAMETERS:
gpar <- new("inSApar", ppm.error = 20, clust.rt = 2, mz.error = 0.01, ion.mode='+', block.size=10)
dbCred <- list(user='dbuser', password='test12', dbname='misa_db', host='localhost')
fileName <- 'testReport.tsv'
isRTinMinutes <- 'Y'
annTab <- read.delim(fileName)
if(isRTinMinutes=='Y') annTab[,'rtmed'] <- annTab[,'rtmed']*60
annTabu <- inSourceAnnotation(annTab=annTab, dbCred=dbCred, gpar=gpar)
- Xavier Domingo-Almenara - Initial work
This project is licensed under the MIT License - see the LICENCE file for details