peakFind | R Documentation |
This function returns a list of the intensities and RI matrices that were searched.
peakFind(samples, Lib, cor_RI, columns = NULL, showProgressBar = FALSE)
samples |
A |
Lib |
A |
cor_RI |
A matrix of correlating selective masses RI for every sample.
See |
columns |
Either |
showProgressBar |
Logical. Should the progress bar be displayed? |
A tsMSdata
object.
Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig
ImportSamples
, ImportLibrary
, medianRILib
,
sampleRI
, tsMSdata
, tsLib
,
tsSample
require(TargetSearchData)
data(TSExample)
# get RI file path
RI.path <- tsd_data_path()
refLibrary <- ImportLibrary(tsd_file_path("library.txt"))
# update RI file path
RIpath(sampleDescription) <- RI.path
peakData <- peakFind(sampleDescription, refLibrary, corRI)
# show peak Intensities.
head(Intensity(peakData), 2)
# How to get intensities for a particular metabolite
# just select the identifier. Here extract the intensities
# for the first metabolite in the library
IntMatrix <- Intensity(peakData)[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.