-
Notifications
You must be signed in to change notification settings - Fork 2
/
MTXQCvX_ExperimentalSetup_template_params.Rmd
190 lines (158 loc) · 5.2 KB
/
MTXQCvX_ExperimentalSetup_template_params.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
---
title: 'MTXQCvX2 - Experimental Setup - PROJECT TITLE'
author:
- affiliation: LAB, LAB LOCATION
name: NAME ONE
- affiliation: LAB, LAB LOCATION
name: NAME TWO
params:
subf:
input: text
label: "Run MTXQC in project folder:"
value: ""
inputformat:
input: select
label: "Select the input format of your data"
choices: [maui, metmax]
value: maui
ann:
input: text
label: "File name of your project annoation (.csv)"
value: annotation.csv
sample_ext:
input: text
label: "File name of your project sample extracts (.csv)"
value: Sample_extracts.csv
data:
input: select
choices: [qMTX, pSIRM, pSIRM time series]
label: 'Type of performed experiment:'
value: qMTX
substr:
input: select
multiple: FALSE
choices: [glc, gln, pyr, other, multiple, none]
label: 'Specify applied stable isotopes:'
value: no
instd:
input: checkbox
label: "Internal extraction standard applied:"
value: TRUE
samples:
input: select
multiple: FALSE
choices: [cell extracts, blood/serum, tissue, supernatant, mixed]
label: 'Specify the origin of samples:'
value: ""
addQ:
input: select
label: "Include additional calibration curves for the absolute quantification."
choices: ["yes", "no"]
value: "no"
addQ_Int:
input: select
label: "Integrate additional calibration curves into all batches of the project"
choices: ["yes", "no"]
value: "no"
quant:
input: select
choices: [Quant1_v3, Quant1_v4, Quant1_v5]
label: "Quantification standards: "
value: Quant1_v3
quant_vol:
input: text
label: "Quant: Volume (ul) of dried polar phase after extraction"
value: 500
backups:
input: text
label: "Technical replicates per sample:"
value: 2
output:
pdf_document:
citation_package: natbib
fig_caption: yes
keep_tex: yes
latex_engine: pdflatex
template: config_files/textemplate.tex
toc: yes
fontfamily: mathpazo
date: '`r format(Sys.Date(), "%B %d, %Y")`'
fontsize: 10pt
geometry: margin = 1in
keywords: MTXQCvX, GC-MS, metabolomics, data analysis and processing
biblio-style: apsr
thanks: Kempa Lab - MTXQCvX ExperimentalSetup, provided by Ch. Zasada, processed '`r format(Sys.Date(), "%B %d, %Y")`'
abstract: Update here the experimental documentation of your project!
---
```{r setup_output, echo=FALSE}
#set path for figure export and size
#MOD!
set_input <- "input/"
set_output <- "output/"
#directory definition and figure_name definition
if (params$subf == "") {
path_setup = ""
} else {
path_setup <- paste0(params$subf, "/")
}
knitr::opts_chunk$set(echo = FALSE, #TRUE - show R code
warning = FALSE, #show warnings
message = TRUE,
eval = TRUE) #show messages
#Color Format
colFmt = function(x,color){
outputFormat = knitr::opts_knit$get("rmarkdown.pandoc.to")
if(outputFormat == 'latex')
paste("\\textcolor{",color,"}{",x,"}", sep = "")
else if(outputFormat == 'html')
paste("<font color='",color,"'>",x,"</font>", sep = "")
else
x
}
```
# `r colFmt("Project-related experimental setup","red")`
<!--
Add here the the extraction protocol of your samples. Use this provided space
to have a complete report starting from sample extraction, derivatisation and
quantification or isotope incorporation
-->
Sample extraction and derivatisation have been performed by Jenny.
According to her notes documented in OneNote section:
Collaborations/Landthaler/ODC1 experiment
# `r colFmt("Sample extraction", 'red')`
Extraction protocol:
1. 5 ml MeOH (50%)
2. 1 ml Chlorform
3. dried 3.5 ml of polar phase
4. 2nd extraction: yes (in two replicates)
Polar phases have been split into two equal fractions of *280* ul (added 600 ul 20% MeOH).
# `r colFmt("Quant-Mix extraction protocol", "red")`
Quant-Mixes batch: *Quant_v4*
1. 1 ml MCW for extraction
2. 0.5 ml H2O for phase separation
3. dried 0.5 ml of polar phase (twice)
# `r colFmt("Derivatisation protocol", "red")`
Applied the following protocol for derivatisation protocol
1. MEOX/Pyridine (final conc: 40 mg MEOX/ 1 ml Pyridine)
- Volume: 20 ul
- Incubation time: 90 min
- Temp: 30 C
2. Alkan-mix/MSTFA (10 ul mix/1 ml MSTFA)
- Volume: 80 ul
- Incubation time: 60 min
- Temp: 37 C
Prepared aliquots: three-times 28 ul, big glas vials, crimped.
# `r colFmt("GC-MS measurement","red")`
Samples have been measured using the following methods
1. Injector-method: hamilton_1ul
2. GC-method: 5/7/12 1.2ml/min
3. Split: 1:5
4. MS-method: Lizzy-like
# General MTXQC parameter
```{r par_table}
source("R/MTXQC_fcn.R")
source("R/MTXQC_config.R")
par_table <- export_MTXQCsetup(params, path_setup, file_spec, "ExpSetup")
table_print <- as.data.frame(par_table)
knitr::kable(table_print, format = "pandoc", caption = "Experimental parameters of the project.")
```