View source: R/JPA_functions.R
ms2.tofeaturetable | R Documentation |
Extracts and assigns MS2 spectra to features in feature table.
ms2.tofeaturetable(data, featureTable, rt.tol = 30, mz.tol = 0.01)
data |
"MSdata" object generated in previous steps. |
featureTable |
Feature table dataframe generated in previous steps. |
rt.tol |
Retention time tolerance (seconds) used in MS2 assignment to feature table. Default = 30. |
mz.tol |
Mass tolerance tolerance (Da) used in MS2 assignment to feature table. Default = 0.01. |
Returns a feature table with additional columns containing MS2 fragment m/z and intensity information for each feature.
Sam Shen, Jian Guo, Tao Huan
library(IPA)
dir = "X:/Users/Sam_Shen/IPAtest_20210330/singleDDA"
featureTable <- peak.picking(dir = dir, mz.tol = 10, ppm=10, peakwidth=c(5,20), mzdiff = 0.01,
snthresh = 6, integrate = 1, prefilter = c(3,100), noise = 100)
featureTable <- find.level3features(data = MSdata)
featureTable <- ms2.tofeaturetable(data = MSdata, featureTable = featureTable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.