Description Usage Arguments Value
Matches MS1 features to MS2 spectra (.mzXML/.mzML/.mgf) files based on a mass-to-charge and retention time tolerance. Composite spectra and other data can subsequently be visualized during any stage of the compMS2Miner processing workflow. Composite spectra can be denoised, ion signals grouped and summed, substructure groups identified, common Phase II metabolites predicted and features matched to data bases monoisotopic mass data and insilico MS2 fragmentation data. The resulting data can then be readily curated by sending to a local or online couchDB database.
1 2 3 4 5 | compMS2Construct(MS1features = NULL, msDataDir = NULL, MS2files = NULL,
nCores = NULL, argsCorrNetwork = list(obsNames = NULL, corrThresh = 0.6,
corrMethod = "spearman", delta = 0.05, MTC = "BH"), mode = "pos",
precursorPpm = 10, ret = 10, TICfilter = 10000, minPeaks = 1,
isoWid = 4, verbose = TRUE)
|
MS1features |
either a data.frame, full file path as a character string to a .csv file of a MS1 feature table in the form observation (samples) in columns and variables (Mass spectral signals) in rows, the first 3 columns must consist of:
optionally the 4th column of the MS1feature table may contain any adducts
and isotopes identified by for example the CAMERA R package.
If this column is present the adducts will be incorporated in to the compMS2
class object and used to guide the subsequent If argument is not supplied a GUI (tcltk) file selection window will open and a .csv file can then be selected. |
msDataDir |
character full path to a directory containing LC-MS/MS data files in either the open framework .mzXML or newer .mzML file types also mascot generic format files (.mgf). If argument is not supplied a GUI (tcltk) file selection window will open and the directory can be selected. |
MS2files |
character vector of full paths to ms2 files (either .mzML, .mzXML or .mgf). Alternative to choosing the directory. In this way particular files within a directory or files from multiple directory locations can be specified. |
nCores |
numeric Number of cores for parallel computation. |
mode |
character Ionisation polarity must be either 'pos' or 'neg'. |
precursorPpm |
numeric Parts per million mass accuracy to match MS1 features to MS2 spectra (ppm) |
ret |
numeric retention time tolerance to match MS1 features to MS2 spectra (+/- seconds). |
TICfilter |
numeric Minimum Total Ion Current to consider an MS2 spectrum. Any MS2 scan below this threshold will not be considered. |
isoWid |
numeric isolation width of DDA precursor ions, utilized to identify potentially chimeric spectra. |
verbose |
logical if TRUE display progress bars. |
minPeaks. |
minimum number of fragment ions for a spectrum to be considered (default = 1). |
A compMS2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.