View source: R/Functions_class_featureTable.R
asInclusionlist | R Documentation |
Reformats a feature table into a format that can be imported into MS instruments as inclusion or exclusion lists.
asInclusionlist( parenttable, rtwin = 2.5, polarity = "Positive", instrument = c("QExactive", "QExactive-HF"), listType = "inclusion", restrictRT = F )
parenttable |
feature table as data.frame, with mz and rt columns. |
rtwin |
retention time window (+/- df$rt) in seconds |
polarity |
"Positive" or "Negative" |
instrument |
which instrument is this table for? |
listType |
"inclusion" or "exclusion" |
restrictRT |
use retention time column from parenttable and rtwin to restrict retention time in inclusion/exclusion list |
A data.frame that, when written to a file, has the expected format for a given instrument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.