-
Notifications
You must be signed in to change notification settings - Fork 0
/
quantification-tissue-correction.html
1020 lines (920 loc) · 42.3 KB
/
quantification-tissue-correction.html
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<title>Quantification & tissue correction</title>
<script src="site_libs/header-attrs-2.28/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/lumen.min.css" rel="stylesheet" />
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<style>h1 {font-size: 34px;}
h1.title {font-size: 38px;}
h2 {font-size: 30px;}
h3 {font-size: 24px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 12px;}
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
pre:not([class]) { background-color: white }</style>
<script src="site_libs/jqueryui-1.13.2/jquery-ui.min.js"></script>
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<script src="site_libs/navigation-1.1/codefolding.js"></script>
<script src="site_libs/navigation-1.1/sourceembed.js"></script>
<link href="site_libs/anchor-sections-1.1.0/anchor-sections.css" rel="stylesheet" />
<link href="site_libs/anchor-sections-1.1.0/anchor-sections-hash.css" rel="stylesheet" />
<script src="site_libs/anchor-sections-1.1.0/anchor-sections.js"></script>
<link href="site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet" />
<link href="site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet" />
<!DOCTYPE html>
<link rel="shortcut icon" href="images/logo.png" />
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
<style type="text/css">
#rmd-source-code {
display: none;
}
</style>
<style type="text/css">
/* for pandoc --citeproc since 2.11 */
div.csl-bib-body { }
div.csl-entry {
clear: both;
}
.hanging div.csl-entry {
margin-left:2em;
text-indent:-2em;
}
div.csl-left-margin {
min-width:2em;
float:left;
}
div.csl-right-inline {
margin-left:2em;
padding-left:1em;
}
div.csl-indent {
margin-left: 2em;
}
</style>
<link rel="stylesheet" href="styles.css" type="text/css" />
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
img {
max-width:100%;
}
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
summary {
display: list-item;
}
details > summary > p:only-child {
display: inline;
}
pre code {
padding: 0;
}
</style>
<style type="text/css">
.dropdown-submenu {
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #cccccc;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: #adb5bd;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
border-radius: 6px 0 6px 6px;
}
</style>
<script type="text/javascript">
// manage active state of menu based on current page
$(document).ready(function () {
// active menu anchor
href = window.location.pathname
href = href.substr(href.lastIndexOf('/') + 1)
if (href === "")
href = "index.html";
var menuAnchor = $('a[href="' + href + '"]');
// mark the anchor link active (and if it's in a dropdown, also mark that active)
var dropdown = menuAnchor.closest('li.dropdown');
if (window.bootstrap) { // Bootstrap 4+
menuAnchor.addClass('active');
dropdown.find('> .dropdown-toggle').addClass('active');
} else { // Bootstrap 3
menuAnchor.parent().addClass('active');
dropdown.addClass('active');
}
// Navbar adjustments
var navHeight = $(".navbar").first().height() + 15;
var style = document.createElement('style');
var pt = "padding-top: " + navHeight + "px; ";
var mt = "margin-top: -" + navHeight + "px; ";
var css = "";
// offset scroll position for anchor links (for fixed navbar)
for (var i = 1; i <= 6; i++) {
css += ".section h" + i + "{ " + pt + mt + "}\n";
}
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
document.head.appendChild(style);
});
</script>
<!-- tabsets -->
<style type="text/css">
.tabset-dropdown > .nav-tabs {
display: inline-table;
max-height: 500px;
min-height: 44px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 4px;
}
.tabset-dropdown > .nav-tabs > li.active:before, .tabset-dropdown > .nav-tabs.nav-tabs-open:before {
content: "\e259";
font-family: 'Glyphicons Halflings';
display: inline-block;
padding: 10px;
border-right: 1px solid #ddd;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
content: "\e258";
font-family: 'Glyphicons Halflings';
border: none;
}
.tabset-dropdown > .nav-tabs > li.active {
display: block;
}
.tabset-dropdown > .nav-tabs > li > a,
.tabset-dropdown > .nav-tabs > li > a:focus,
.tabset-dropdown > .nav-tabs > li > a:hover {
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
display: block;
float: none;
}
.tabset-dropdown > .nav-tabs > li {
display: none;
}
</style>
<!-- code folding -->
<style type="text/css">
.code-folding-btn { margin-bottom: 4px; }
</style>
<style type="text/css">
#TOC {
margin: 25px 0px 20px 0px;
}
@media (max-width: 768px) {
#TOC {
position: relative;
width: 100%;
}
}
@media print {
.toc-content {
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
float: right;
}
}
.toc-content {
padding-left: 30px;
padding-right: 40px;
}
div.main-container {
max-width: 1200px;
}
div.tocify {
width: 20%;
max-width: 260px;
max-height: 85%;
}
@media (min-width: 768px) and (max-width: 991px) {
div.tocify {
width: 25%;
}
}
@media (max-width: 767px) {
div.tocify {
width: 100%;
max-width: none;
}
}
.tocify ul, .tocify li {
line-height: 20px;
}
.tocify-subheader .tocify-item {
font-size: 0.90em;
}
.tocify .list-group-item {
border-radius: 0px;
}
.tocify-subheader {
display: inline;
}
.tocify-subheader .tocify-item {
font-size: 0.95em;
}
</style>
</head>
<body>
<div class="container-fluid main-container">
<!-- setup 3col/9col grid for toc_float and main content -->
<div class="row">
<div class="col-xs-12 col-sm-4 col-md-3">
<div id="TOC" class="tocify">
</div>
</div>
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Gannet</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="index.html">
<span class="fa fa-home"></span>
Home
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Documentation
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="getting-started.html">Getting started</a>
</li>
<li>
<a href="reference.html">Reference</a>
</li>
<li>
<a href="output-structure-attributes.html">Output structure attributes</a>
</li>
<li>
<a href="preprocessing.html">Preprocessing</a>
</li>
<li>
<a href="signal-modeling.html">Signal modeling</a>
</li>
<li>
<a href="data-quality-metrics.html">Data quality metrics</a>
</li>
<li>
<a href="quantification-tissue-correction.html">Quantification & tissue correction</a>
</li>
<li>
<a href="additional-tools.html">Additional tools</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Examples
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="gannetpreinitialise-settings.html">GannetPreInitialise settings</a>
</li>
<li>
<a href="batch-script.html">Batch processing script</a>
</li>
<li>
<a href="joining-data-files.html">Joining data files</a>
</li>
</ul>
</li>
<li>
<a href="faq.html">FAQ</a>
</li>
<li>
<a href="release-notes.html">Release notes</a>
</li>
<li>
<a href="https://forum.mrshub.org/c/mrs-software/gannet/9">Forum</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/markmikkelsen/Gannet/issues">Report an issue</a>
</li>
<li>
<a href="https://github.com/markmikkelsen/Gannet">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
<li>
<a href="mailto:[email protected]?subject=[Gannet]%20<Please enter the subject of your query here>">
<span class="fa fa-envelope fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
<div id="header">
<div class="btn-group pull-right float-right">
<button type="button" class="btn btn-default btn-xs btn-secondary btn-sm dropdown-toggle" data-toggle="dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span>Code</span> <span class="caret"></span></button>
<ul class="dropdown-menu dropdown-menu-right" style="min-width: 50px;">
<li><a id="rmd-download-source" href="#">Download Rmd</a></li>
</ul>
</div>
<h1 class="title toc-ignore">Quantification & tissue correction</h1>
<h4 class="date">Last updated: October 14, 2024</h4>
</div>
<button onclick="topFunction()" id="myBtn" title="Go to top">
Back to top
</button>
<script>
//Get the button
var mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<style type="text/css">
.info {
margin-bottom: 20px;
}
table {
margin: auto;
}
table thead th {
border-bottom: 1px solid #ddd;
}
th, td {
padding: 5px;
}
tfoot, tr:nth-child(even) {
background: #eee;
}
</style>
<p><br></p>
<div class="info">
<p><i class="fa fa-info-circle" style="color: white"></i> The formulas
below apply to releases 3.1+ and may not be applicable to older
releases.</p>
</div>
<p>Gannet quantifies metabolite levels in different ways at various
points in the pipeline depending on what reference signals are present
and if structural image data are available. It is important to
understand what the underlying quantification formulas are for the
interpretation and reporting of results.</p>
<p><u>A note on units of concentration</u></p>
<p>There is a perennial issue surrounding how quantified in vivo MRS
measurements should be expressed; that is, in what biochemical units (if
any) they should be reported. In vivo MRS measurements can be, and have
been, reported in molar, molal, and institutional units or as simple
ratios. However, this makes interpreting and comparing such values,
especially across published studies, highly challenging. While Gannet
does apply a number of signal scaling factors to water-referenced
metabolite measurements (that are required when reporting absolute
concentrations), it is our philosophy that these measurements should be
considered pseudo-absolute because accounting for all empirical signal
scaling factors is impractical (even impossible) to permit truly
absolute quantification. Thus, we denote our water-referenced metabolite
measurements in institutional units (i.u.).</p>
<div id="gannetfit" class="section level2 hasAnchor">
<h2 class="hasAnchor">GannetFit<a href="#gannetfit"
class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p><code>MRS_struct.out.vox1.(metab).ConcCr</code>,
<code>MRS_struct.out.vox1.(metab).ConcCho</code>, and
<code>MRS_struct.out.vox1.(metab).ConcNAA</code> are simple signal
integral ratios of the metabolite of interest and the metabolite
reference signals Cr, Cho, and NAA, respectively:</p>
<p><span class="math display">\[C = \frac{I_{M}}{I_{ref}}\]</span></p>
<p>If a water reference is provided,
<code>MRS_struct.out.vox1.(metab).ConcIU</code> is also calculated. It
is defined as the signal integral ratio of the metabolite of interest
and water reference scaled by a number of global signal scaling
factors:</p>
<p><span class="math display">\[
C_{corr} =
\frac{I_{M}}{I_{W}}\cdot
\frac{H_{W}}{H_{M}}\cdot
\frac{MM}{\kappa}\cdot
C_{W}\cdot
W_{vis}\cdot
\frac{\exp\left(-\frac{TE_{W}}{T_{2W}}\right)\left[1-\exp\left(-\frac{TR_{W}}{T_{1W}}\right)\right]}
{\exp\left(-\frac{TE_{M}}{T_{2M}}\right)\left[1-\exp\left(-\frac{TR_{M}}{T_{1M}}\right)\right]}
\]</span></p>
<p>where:</p>
<table>
<colgroup>
<col width="11%" />
<col width="50%" />
<col width="38%" />
</colgroup>
<thead>
<tr class="header">
<th align="left"><u>Parameter</u></th>
<th align="left"><u>Description</u></th>
<th align="left"><u>Default value</u></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><span class="math inline">\(C_{corr}\)</span></td>
<td align="left">Estimated metabolite concentration in i.u.</td>
<td align="left"></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(I_{M}\)</span></td>
<td align="left">Metabolite signal integral</td>
<td align="left"></td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(I_{W}\)</span></td>
<td align="left">Water signal integral</td>
<td align="left"></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(H_{M}\)</span></td>
<td align="left">Number of <sup>1</sup>H protons that give rise to the
metabolite signal</td>
<td align="left">Metabolite dependent; see <code>GannetFit.m</code> for
default values</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(H_{W}\)</span></td>
<td align="left">Number of <sup>1</sup>H protons that give rise to the
water signal</td>
<td align="left">2</td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(MM\)</span></td>
<td align="left">Correction factor for the contribution of the co-edited
macromolecule signal in the metabolite signal</td>
<td align="left">0.45 for GABA editing and 1 for all other edited
metabolites</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(\kappa\)</span></td>
<td align="left">Editing efficiency</td>
<td align="left">Acquisition dependent; 0.5 for GABA editing</td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(C_{W}\)</span></td>
<td align="left">Molal concentration of pure water</td>
<td align="left">55.51 mol/kg</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(W_{vis}\)</span></td>
<td align="left">Approximate relative MR visibility of water in brain
tissue</td>
<td align="left">0.65<span class="citation"><sup><a
href="#ref-Ernst1993">1</a></sup></span></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(TE_{W}\)</span></td>
<td align="left">Echo time of the water reference acquisition</td>
<td align="left">Acquisition dependent</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(TR_{W}\)</span></td>
<td align="left">Repetition time of the water reference acquisition</td>
<td align="left">Acquisition dependent</td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(TE_{M}\)</span></td>
<td align="left">Echo time of the metabolite acquisition</td>
<td align="left">Acquisition dependent</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(TR_{M}\)</span></td>
<td align="left">Repetition time of the metabolite acquisition</td>
<td align="left">Acquisition dependent</td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(T_{2W}\)</span></td>
<td align="left">Average transverse relaxation time of water in GM and
WM</td>
<td align="left">1.100 s<span class="citation"><sup><a
href="#ref-Wansapura1999">2</a></sup></span></td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(T_{1W}\)</span></td>
<td align="left">Average longitudinal relaxation time of water in GM and
WM</td>
<td align="left">0.095 s<span class="citation"><sup><a
href="#ref-Wansapura1999">2</a></sup></span></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(T_{2M}\)</span></td>
<td align="left">Transverse relaxation time of metabolite</td>
<td align="left">Metabolite dependent; see <code>GannetFit.m</code> for
default values</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(T_{1M}\)</span></td>
<td align="left">Longitudinal relaxation time of metabolite</td>
<td align="left">Metabolite dependent; see <code>GannetFit.m</code> for
default values</td>
</tr>
</tbody>
</table>
</div>
<div id="gannetsegment" class="section level2 hasAnchor">
<h2 class="hasAnchor">GannetSegment<a href="#gannetsegment"
class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>When segmenting structural images to obtain voxel volume fractions of
GM, WM, and CSF, and if a water reference is available, a CSF-only
correction is applied to the <code>ConcIU</code> measurement.</p>
<p><code>MRS_struct.out.vox1.(metab).ConcIU_CSFcorr</code>:</p>
<p><span class="math display">\[
C_{CSFcorr} =
\frac{I_{M}}{I_{W}}\cdot
\frac{H_{W}}{H_{M}}\cdot
\frac{MM}{\kappa}\cdot
C_{W}\cdot
W_{vis}\cdot
\frac{\exp\left(-\frac{TE_{W}}{T_{2W}}\right)\left[1-\exp\left(-\frac{TR_{W}}{T_{1W}}\right)\right]}
{\exp\left(-\frac{TE_{M}}{T_{2M}}\right)\left[1-\exp\left(-\frac{TR_{M}}{T_{1M}}\right)\right]}\cdot
\frac{1}{1-f_{CSF}}
\]</span></p>
<p>where <span class="math inline">\(C_{CSFcorr}\)</span> is the
estimated metabolite concentration in i.u. corrected for CSF and <span
class="math inline">\(f_{CSF}\)</span> is the voxel volume fraction of
CSF.</p>
</div>
<div id="gannetquantify" class="section level2 hasAnchor">
<h2 class="hasAnchor">GannetQuantify<a href="#gannetquantify"
class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p><code>GannetQuantify.m</code> goes a step further and corrects for
partial volume effects that attenuate the observed water and metabolite
signals. There are two approaches that are employed. The first is termed
the Gasparovic et al.<span class="citation"><sup><a
href="#ref-Gasparovic2006">3</a></sup></span> method and the second is
termed the Harris et al.<span class="citation"><sup><a
href="#ref-Harris2015">4</a></sup></span> method. Although similar, the
difference between these approaches is that the Harris et al. method
additionally accounts for intrinsic differences in metabolite
concentrations in GM and WM.</p>
<div id="the-gasparovic-et-al.-method" class="section level3 hasAnchor">
<h3 class="hasAnchor"><u>The Gasparovic et al. method</u><a
href="#the-gasparovic-et-al.-method" class="anchor-section"
aria-label="Anchor link to header"></a></h3>
<p><code>MRS_struct.out.vox1.(metab).ConcIU_TissCorr</code>:</p>
<p><span class="math display">\[
C_{TissCorr} =
\frac{I_{M}}{I_{W}}\cdot
\frac{H_{W}}{H_{M}}\cdot
\frac{MM}{\kappa}\cdot
C_{W}\cdot
\frac{\sum_{i}^{GM,WM,CSF}f_{i}\beta_{i}\exp\left(-\frac{TE_{W}}{T_{2W,i}}\right)\left[1-\exp\left(-\frac{TR_{W}}{T_{1W,i}}\right)\right]}
{(1-f_{CSF})\exp\left(-\frac{TE_{M}}{T_{2M}}\right)\left[1-\exp\left(-\frac{TR_{M}}{T_{1M}}\right)\right]}
\]</span></p>
<p>where:</p>
<table>
<colgroup>
<col width="11%" />
<col width="50%" />
<col width="38%" />
</colgroup>
<thead>
<tr class="header">
<th align="left"><u>Parameter</u></th>
<th align="left"><u>Description</u></th>
<th align="left"><u>Default value</u></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><span class="math inline">\(C_{TissCorr}\)</span></td>
<td align="left">Estimated metabolite concentration in i.u. corrected
for partial volume effects of water</td>
<td align="left"></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(f_{i}\)</span></td>
<td align="left">Voxel volume fraction of GM, WM, or CSF</td>
<td align="left"></td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(\beta_i\)</span></td>
<td align="left">Relative MR visibility of water in GM, WM, or CSF</td>
<td align="left">0.78, 0.65, and 0.97<span class="citation"><sup><a
href="#ref-Ernst1993">1</a></sup></span></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(T_{2W,i}\)</span></td>
<td align="left">Transverse relaxation time of water in GM, WM, or
CSF</td>
<td align="left">0.110, 0.0792, and 0.503 s<span
class="citation"><sup><a href="#ref-Wansapura1999">2</a>,<a
href="#ref-Piechnik2009">5</a></sup></span></td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(T_{1W,i}\)</span></td>
<td align="left">Longitudinal relaxation time of water in GM, WM, or
CSF</td>
<td align="left">1.331, 0.832, and 3.817 s<span class="citation"><sup><a
href="#ref-Wansapura1999">2</a>,<a
href="#ref-Lu2005">6</a></sup></span></td>
</tr>
</tbody>
</table>
</div>
<div id="the-harris-et-al.-method" class="section level3 hasAnchor">
<h3 class="hasAnchor"><u>The Harris et al. method</u><a
href="#the-harris-et-al.-method" class="anchor-section"
aria-label="Anchor link to header"></a></h3>
<p><code>MRS_struct.out.vox1.(metab).ConcIU_AlphaTissCorr</code>:</p>
<p><span class="math display">\[
C_{AlphaCorr} =
\frac{I_{M}}{I_{W}}\cdot
\frac{H_{W}}{H_{M}}\cdot
\frac{MM}{\kappa}\cdot
\frac{\sum_{i}^{GM,WM,CSF}f_{i}C_{W,i}\exp\left(-\frac{TE_{W}}{T_{2W,i}}\right)\left[1-\exp\left(-\frac{TR_{W}}{T_{1W,i}}\right)\right]}
{\exp\left(-\frac{TE_{M}}{T_{2M}}\right)\left[1-\exp\left(-\frac{TR_{M}}{T_{1M}}\right)\right]}\cdot
\frac{1}{f_{GM}+\alpha{f_{WM}}}
\]</span></p>
<p>where:</p>
<table>
<colgroup>
<col width="11%" />
<col width="50%" />
<col width="38%" />
</colgroup>
<thead>
<tr class="header">
<th align="left"><u>Parameter</u></th>
<th align="left"><u>Description</u></th>
<th align="left"><u>Default value</u></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><span class="math inline">\(C_{AlphaCorr}\)</span></td>
<td align="left">Estimated metabolite concentration in i.u. corrected
for partial volume effects of water and metabolite</td>
<td align="left"></td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\(C_{W,i}\)</span></td>
<td align="left">Molal concentration of water in GM, WM, or CSF</td>
<td align="left">43.30, 36.08, and 53.84 mol/kg<span
class="citation"><sup><a href="#ref-Ernst1993">1</a>,<a
href="#ref-Gasparovic2006">3</a></sup></span></td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\(\alpha\)</span></td>
<td align="left">Ratio of intrinsic WM:GM metabolite concentrations</td>
<td align="left">Metabolite dependent; see <code>GannetQuantify.m</code>
for default values</td>
</tr>
</tbody>
</table>
<p>A modification of the Harris et al. method is also calculated where
<code>ConcIU_AlphaTissCorr</code> is further scaled by the average voxel
GM and WM composition of all datasets in a group.</p>
<p><code>MRS_struct.out.vox1.(metab).ConcIU_AlphaTissCorr_GrpNorm</code>:</p>
<p><span class="math display">\[
C_{AlphaCorrNorm} =
\frac{I_{M}}{I_{W}}\cdot
\frac{H_{W}}{H_{M}}\cdot
\frac{MM}{\kappa}\cdot
\frac{\sum_{i}^{GM,WM,CSF}f_{i}C_{W,i}\exp\left(-\frac{TE_{W}}{T_{2W,i}}\right)\left[1-\exp\left(-\frac{TR_{W}}{T_{1W,i}}\right)\right]}
{\exp\left(-\frac{TE_{M}}{T_{2M}}\right)\left[1-\exp\left(-\frac{TR_{M}}{T_{1M}}\right)\right]}\cdot
\frac{\mu_{GM}+\alpha{\mu_{WM}}}{(f_{GM}+\alpha{f_{WM}})(\mu_{GM}+{\mu_{WM}})}
\]</span></p>
<p>where:</p>
<table>
<colgroup>
<col width="18%" />
<col width="81%" />
</colgroup>
<thead>
<tr class="header">
<th align="left"><u>Parameter</u></th>
<th align="left"><u>Description</u></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><span
class="math inline">\(C_{AlphaCorrNorm}\)</span></td>
<td align="left">Estimated metabolite concentration in i.u. corrected
for partial volume effects of water and metabolite and adjusted to the
average voxel GM and WM composition across a group</td>
</tr>
<tr class="even">
<td align="left"><span class="math inline">\({\mu_{GM}}\)</span></td>
<td align="left">Group-averaged voxel volume fraction of GM</td>
</tr>
<tr class="odd">
<td align="left"><span class="math inline">\({\mu_{WM}}\)</span></td>
<td align="left">Group-averaged voxel volume fraction of WM</td>
</tr>
</tbody>
</table>
<p><br></p>
</div>
<div id="references" class="section level3 unnumbered hasAnchor">
<h3 class="unnumbered hasAnchor">References<a href="#references"
class="anchor-section" aria-label="Anchor link to header"></a></h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-Ernst1993" class="csl-entry">
<div class="csl-left-margin">1. </div><div
class="csl-right-inline">Ernst T, Kreis R, Ross BD. <span
class="nocase">Absolute quantitation of water and metabolites in the
human brain. I. Compartments and water</span>. <em>Journal of Magnetic
Resonance, Series B</em>. 1993;102(1):1-8. doi:<a
href="https://doi.org/10.1006/jmrb.1993.1055">10.1006/jmrb.1993.1055</a></div>
</div>
<div id="ref-Wansapura1999" class="csl-entry">
<div class="csl-left-margin">2. </div><div
class="csl-right-inline">Wansapura JP, Holland SK, Dunn RS, Ball WS.
<span class="nocase">NMR relaxation times in the human brain at 3.0
Tesla</span>. <em>Journal of Magnetic Resonance Imaging</em>.
1999;9(4):531-538. doi:<a
href="https://doi.org/10.1002/(SICI)1522-2586(199904)9:4<531::AID-JMRI4>3.0.CO;2-L">10.1002/(SICI)1522-2586(199904)9:4<531::AID-JMRI4>3.0.CO;2-L</a></div>
</div>
<div id="ref-Gasparovic2006" class="csl-entry">
<div class="csl-left-margin">3. </div><div
class="csl-right-inline">Gasparovic C, Song T, Devier D, et al. <span
class="nocase">Use of tissue water as a concentration reference for
proton spectroscopic imaging</span>. <em>Magnetic Resonance in
Medicine</em>. 2006;55(6):1219-1226. doi:<a
href="https://doi.org/10.1002/mrm.20901">10.1002/mrm.20901</a></div>
</div>
<div id="ref-Harris2015" class="csl-entry">
<div class="csl-left-margin">4. </div><div
class="csl-right-inline">Harris AD, Puts NAJ, Edden RAE. <span
class="nocase">Tissue correction for GABA-edited MRS: Considerations of
voxel composition, tissue segmentation, and tissue relaxations</span>.
<em>Journal of Magnetic Resonance Imaging</em>. 2015;42(5):1431-1440.
doi:<a
href="https://doi.org/10.1002/jmri.24903">10.1002/jmri.24903</a></div>
</div>
<div id="ref-Piechnik2009" class="csl-entry">
<div class="csl-left-margin">5. </div><div
class="csl-right-inline">Piechnik SK, Evans J, Bary LH, Wise RG, Jezzard
P. <span class="nocase">Functional changes in CSF volume estimated using
measurement of water T2 relaxation</span>. <em>Magnetic Resonance in
Medicine</em>. 2009;61(3):579-586. doi:<a
href="https://doi.org/10.1002/mrm.21897">10.1002/mrm.21897</a></div>
</div>
<div id="ref-Lu2005" class="csl-entry">
<div class="csl-left-margin">6. </div><div class="csl-right-inline">Lu
H, Nagae-Poetscher LM, Golay X, Lin D, Pomper M, Zijl PCM van. <span
class="nocase">Routine clinical brain MRI sequences for use at 3.0
Tesla</span>. <em>Journal of Magnetic Resonance Imaging</em>.
2005;22(1):13-22. doi:<a
href="https://doi.org/10.1002/jmri.20356">10.1002/jmri.20356</a></div>
</div>
</div>
</div>
</div>
<div id="rmd-source-code">LS0tCnRpdGxlOiAiUXVhbnRpZmljYXRpb24gJiB0aXNzdWUgY29ycmVjdGlvbiIKZGF0ZTogIkxhc3QgdXBkYXRlZDogYHIgZm9ybWF0KFN5cy50aW1lKCksICclQiAlZCwgJVknKWAiCmJpYmxpb2dyYXBoeTogYmlibGlvZ3JhcGh5LmJpYgpjc2w6IGFtZXJpY2FuLW1lZGljYWwtYXNzb2NpYXRpb24uY3NsCmxpbmstY2l0YXRpb25zOiB5ZXMKb3V0cHV0OgogIGh0bWxfZG9jdW1lbnQ6CiAgICB0b2M6IFRSVUUKICAgIHRvY19kZXB0aDogMgogICAgdG9jX2Zsb2F0OgogICAgICBjb2xsYXBzZWQ6IEZBTFNFCi0tLQoKYGBge3Igc2V0dXAsIGluY2x1ZGUgPSBGQUxTRX0Ka25pdHI6Om9wdHNfY2h1bmskc2V0KGVjaG8gPSBUUlVFKQpgYGAKCmBgYHtyLCBjaGlsZCA9ICJqcy9iYWNrLXRvLXRvcC5qcyJ9CmBgYAoKYGBge2NzcywgZWNobyA9IEZBTFNFfQouaW5mbyB7CiAgbWFyZ2luLWJvdHRvbTogMjBweDsKfQoKdGFibGUgewogIG1hcmdpbjogYXV0bzsKfQoKdGFibGUgdGhlYWQgdGggewogIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjZGRkOwp9Cgp0aCwgdGQgewogIHBhZGRpbmc6IDVweDsKfQoKdGZvb3QsIHRyOm50aC1jaGlsZChldmVuKSB7CiAgYmFja2dyb3VuZDogI2VlZTsKfQpgYGAKCjxicj4KCjo6OiBpbmZvCjxpIGNsYXNzPSJmYSBmY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HRvIHRoZSBhdmVyYWdlIHZveGVsIEdNIGFuZCBXTSBjb21wb3NpdGlvbiBhY3Jvc3MgYSBncm91cCB8CnwgJHtcbXVfe0dNfX0kIHwgR3JvdXAtYXZlcmFnZWQgdm94ZWwgdm9sdW1lIGZyYWN0aW9uIG9mIEdNIHwKfCAke1xtdV97V019fSQgfCBHcm91cC1hdmVyYWdlZCB2b3hlbCB2b2x1bWUgZnJhY3Rpb24gb2YgV00gfAoKPGJyPgoKIyMjIFJlZmVyZW5jZXMKCgo=</div>
<!DOCTYPE html>
<br>
<hr>
<p style="text-align: right;">Built with <a href="https://rmarkdown.rstudio.com/" target="_blank">R Markdown</a> in <a
href="https://posit.co/products/open-source/rstudio/" target="_blank">RStudio</a>
<br>
</p>
<p style="text-align: right;">Copyright © 2020–2024, Mark Mikkelsen <a
href="https://creativecommons.org/licenses/by/4.0" target="_blank"><img id="cc"
style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;" src="images/license/cc-xlarge.png"><img
id="cc" style="height:22px!important;margin-left: 3px;vertical-align:text-bottom;"
src="images/license/by-xlarge.png"></a>
</p>
</div>
</div>
</div>
<script>
// add bootstrap table styles to pandoc tables
function bootstrapStylePandocTables() {
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
}
$(document).ready(function () {
bootstrapStylePandocTables();
});
</script>
<!-- tabsets -->
<script>
$(document).ready(function () {
window.buildTabsets("TOC");
});
$(document).ready(function () {
$('.tabset-dropdown > .nav-tabs > li').click(function () {
$(this).parent().toggleClass('nav-tabs-open');
});
});
</script>
<!-- code folding -->
<script>
$(document).ready(function () {
window.initializeSourceEmbed("quantification-tissue-correction.Rmd");
});
</script>
<script>
$(document).ready(function () {
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
$('.unlisted.unnumbered').addClass('toc-ignore')
// move toc-ignore selectors from section div to header
$('div.section.toc-ignore')
.removeClass('toc-ignore')
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
// establish options
var options = {
selectors: "h1,h2",
theme: "bootstrap3",
context: '.toc-content',
hashGenerator: function (text) {
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
},
ignoreSelector: ".toc-ignore",
scrollTo: 0
};