vignettes/quantificationInputData.md

title: "Input Data" author: "André Vidas Olsen" date: "2018-04-15" output: html_document vignette: > %\VignetteIndexEntry{Vignette Title} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8}

Introduction

the quantification procedure in lipidQ needs 4 types of input in order to work properly. In the following section, each of these 4 types of input data are described.

User specified colnames

Since different classification tools and projects in general will contail different names for columns representing the same features, a text file will be needed as input for LipidQ in order to translate the meaning of the columns for the program. This translation file is called userSpecifiedColnames.txt and a template of it to be used by the user (see the global options vignette and the global options tutorial).

The following shows all the default column names and their meaning (MESUT):

After the template has been saved, the user can go in the template file by using a data analysis program like Microsoft Excel, LibreOffice Calc or similar and type in the users unique column names for all data sets which includes input data set and databases. The file contains multiples columns and one single row with the text "TYPE_NAME_HERE". The user will then replace the "TYPE_NAME_HERE" text with the users own unique column names that match a given column. The columns header name in the template is the default column name that LipidQ uses for analysis. Only the "TYPE_NAME_HERE" text needs to be changed to the unique column name, and not the column header name itself. If changes do occur in the header column name, a new template file must be created by the three steps mentioned above to ensure that no errors occur during the analysis (see the global options vignette and the global options tutorial).

Intensity data set

The input intensity data consists of one or multiple data sets containing intensity values of lipids species. The data can be obtained from any mass spectrometry application and a lipid identification software, such as LipidX, LipidSearch etc. The data can consist of only MS1 or a combination of MS1 and MS2 for endogenous lipids as well as internal standards.

MS1 & MS2 columns

MS1 & MS2 column names in the intensity data should have the following name structure: NAME-OF-MS:PROJECT-NAME_SAMPLE-EXTRACT-NUMBER.raw. An example could be: PREC:mE494_03.raw, where 'PREC' is the chosen MS1 name, 'mE494' is the project name and that the column represents sample extract number 3. In the case where each sample contains replicates, all replicates of a given sample must be located adjacent to each each. For instance in the following sample extracts each sample contains 3 replicates:

PREC:mE494_01.raw

PREC:mE494_02.raw

PREC:mE494_03.raw

PREC:mE494_04.raw

PREC:mE494_05.raw

PREC:mE494_06.raw

PREC:mE494_07.raw

PREC:mE494_08.raw

PREC:mE494_09.raw

PREC:mE494_01.raw - PREC:mE494_03.raw will represent replicates of sample 1, PREC:mE494_04.raw - PREC:mE494_06.raw will represent replicates of sample 2 and PREC:mE494_07.raw - PREC:mE494_09.raw will represent replicates of sample 3.

positive/negative mode specification

The intensity data should also contain one column that specifies whether the intensity data is created from positive or negative mode. The column should be written as simply POS (positive mode) or NEG (negative mode) and should not contain any values in the rows. An example can be found in the each of the four files in the following folder:

#> [1] "/Library/Frameworks/R.framework/Versions/3.4/Resources/library/lipidQ/extdata/"

, where the last column in each of the four files specifies the mode.

Databases

Two types of databases called the endogene database and the internal standard (ISTD) database are used in LipidQ. They are both used to validate the classified classes and species as well as specifying different modes, which stems from the way the mass spectrometry has monitored the sample content (MESUT). The mode is specified in the QUAN_MODE and the two possible modes to choose is positive (POS) or negative (NEG) for each lipid, species, or ISTD's. The two database also contains MS1 and MS2 columns specifying which columns are relevant and needed to be filtered for before the quantification. The filtering will check whether all relevant columns has values > 0 for all species/ISTD's, and if at least one column is below this threshold, all values will have 0 in the columns. Specifying which columns are relevant is done by typing either 1 or zero in the MS1 or MS2 columns for each lipid class/specie, where 1 means to include it in the filtering and 0 means to exclude it from the filtering. The QUAN_SCAN mode specify which column within MS1 and MS2 that is used for the quantification.

The following to subsections describes the unique features for each of the endogene and ISTD database.

Endogene database

The endogene database contains validation for all endogene classes and species. Only classes and species found in this database will go through the lipidQ quantification analysis. A new template file of the endogene database can be generated if necessary (see the global options vignette and the global options tutorial).

(MESUT evaluate)

ISTD database

The ISTD database contains multiple validation for all ISTD classes. Only classes found in this database will go through the lipidQ quantification analysis. Besides the common columns mentioned Databases section, the ISTD database can also contain the following four columns: ISTD_CONC, LOQ, DISSOLVED_AMOUNT and DF_INFUSION. The column ISTD_CONC, which is mandatory, represents the concentration of each ISTD in $\mu$M.

The LOQ stands for Limit Of Quantification and is a threshold of the lowest amount of lipid that can be quantified. This value changes from mass spectrometer to mass spectrometer and therefore each user must make their own LOQ according to the properties of the mass spectrometer they use. DISSOLVED_AMOUNT is the amount of solvent used to reconstitute the dried lipid extract. DF_INFUSION is the factor that samples are diluted in ionization solvent before infusion to the samples into mass spectrometer. LOQ, DISSOLVED_AMOUNT, and DF_INFUSION are all used with the LOQ threshold filter which is optional (See section XXX for more info about this filter type). A new template file of the ISTD database can be generated if necessary (see the global options vignette and the global options tutorial).



ELELAB/lipidQ documentation built on Feb. 24, 2020, 12:54 a.m.