vignettes/lipidflow.Rmd
lipidflow.Rmd
You can install lipidflow
from Github.
if(!require(devtools)){
install.packages("devtools")
}
devtools::install_github("jaspershen/lipidflow")
lipidflow
is a part of tidymass
, so you can also install it by tidymass
.
lipidflow
The first step is to extract the extracted ion chromatogram (EIC) of all internal standards (IS) in samples and then get the retention times (RTs), adduct and m/z of all the internal standards. Internal standards are used for absolute quantification of lipids.
In this step, we will get the relative quantification data of internal standards and lipids by targeted extracting from raw data (mzXML format). The lipid annotation table can be from other tools, here we recommend lipidSearch
from ThermoFisher.
In this step, we will get the absolute quantification data for all the lipids. The absolute quantification value for each lipid is calculated as:
\[ AI_i = \frac{RI_{i}AI_j}{RI_j} \]
Here, \(AI_i\) is the absolute intensity of \(i^{th}\) lipid. \(RI_{i}\) is the relative intensity of \(i^{th}\) lipid. \(AI_i\) is the absolute intensity of \(j^{th}\) internal standard. \(RI_i\) is the absolute intensity of \(j^{th}\) internal standard.
So for each lipid, we need a corresponding internal standard for absolute quantification. In our demo data, for each class of lipids, we usually use one or two internal standard for absolute quantification.