Description Usage Arguments Details Value Note Author(s) See Also Examples
This function extracts the maximum intensity of a list of masses in a given RI window.
1 |
my.files |
A character vector naming RI files to be searched. |
refLib |
A numeric matrix with three columns or a list of three column matrices. The second column contains the masses and the first and third column contains the RI limits. |
showProgressBar |
Logical. Should the progress bar be displayed? |
columns |
Either |
The reference library parameter refLib
can be either a single
three-column matrix or a list of such matrices. If it is a list, the length
must match the length of my.files
. In this case, every component will
be used to iteratively search in the corresponding file.
The RI files format can be either "text" or "binary". The type is detected dinamically.
A tsMSdata
object.
This is an internal function not intended to be invoked directly.
Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig
medianRILib
, sampleRI
,
peakFind
, tsMSdata
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # load example CDF files
require(TargetSearchData)
# load pre-calculated example data and objects
data(TSExample)
# get RI file path
RI.path <- file.path(find.package("TargetSearchData"), "gc-ms-data")
# update RI file path
RIpath(sampleDescription) <- RI.path
my.files <- RIfiles(sampleDescription)
# make a three column matrix: lower RI, mass, upper RI
refLib <- refLib(refLibrary)
head(refLib)
# extract the peaks
peaks <- FindPeaks(my.files, refLib)
|
Loading required package: ncdf4
Loading required package: TargetSearchData
minRI mz maxRI
1 218767 89 226767
1 218767 115 226767
1 218767 158 226767
1 218767 174 226767
1 218767 189 226767
2 224554 86 232554
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.