name: title layout: true class: center --- layout: false count: false .center[
https://oesteban.github.io/talks/ISMRM2024/
## Harnessing QA/QC protocols for diffusion MRI neuroimaging workflows with MRIQC ### Oscar Esteban < phd@oscaresteban.es > .small[Authors do not have any conflict of interest to be declared] ] ??? Welcome everyone, I'm Oscar Esteban and I'm about to describe a comprehensive approach to ensure the reliability of the diffusion MRI workflow by implementing robust QA/QC workflows. Before we get started, please note the QR code at the top. It leads to the link below and contains these slides. However, the online slides are interactive so I strongly recommend to follow my talk on your phone or your laptop if you have it handy. --- name: newsection layout: true .perma-sidebar[
0539 MRIQC & DWI — ISMRM 2024
] --- ## Outlook .right-column3.center[
https://oesteban.github.io/talks/ISMRM2024/
] .left-column3[ .large[
* Implementing QA/QC protocols * What is MRIQC? * Data * Human Connectome PHantom * Healthy Brain Network * Results ]] ??? In this talk, we will first have a bird's eye view over the diffusion MRI pipeline. Next, I will propose the establishment of several QA/QC checkpoints along the pipeline to focus on one of the earliest layers: assessing the quality of the unprocessed data. We will then move into introducing MRIQC, a QA/QC tool for unprocessed data (meaning: reconstructed data out of the scanner that is yet to be processed). Although initially conceived for fMRI and anatomical T1w and T2w images, the latest release of MRIQC features a full extension to diffusion MRI. Then, I will introduce the data we employed to showcase MRIQC today, and shamelessly promote our local study, the Human Connectome PHantom, which we will make available soon. Finally, I'll show some of the results. I hope at this point those interested managed to pull up the slides. --- ## The neuroimaging worflow
.boxed-content[
.align-right[ ([Esteban et al., 2020](http://doi.org/10.1038/s41596-020-0327-3)) ([Niso et al., 2022](https://doi.org/10.1016/j.neuroimage.2022.119623)) ] ] ??? Overall, this slide must be familiar to everyone. In this case, it represents the workflow for MRI connectivity analyses. Like most of the neuroimaging modalities, diffusion MRI start in the scanner, data are reconstructed into 4D images that humans can somehow understand, and in our case, convert them from DICOM into BIDS to maximize future reusability. We next run MRIQC, to obtain an early insight into the data quality. Images are then preprocessed to remove sources of signal of no interest that may bias downstream modeling. We employ fMRIPrep and dMRIPrep for preprocessing. Finally, we extract connectivity matrices and model them statistically. --- ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.1038/s41596-020-0327-3)) ] ] ??? Let's zoom out and insert quality checkpoints. The reason is that it has been shown that data quality can bias results, so we want to ensure no subpar image makes all the way into analysis. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? A trivial, but critical first checkpoint is about the completeness and adequacy of metadata and data organization. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? If something fails, for example, we identify that the events timing corresponding to an fMRI task is missing for some subjects, we need to look back and revise our conversion into BIDS. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? Once that checkpoint is cleared, we execute MRIQC and screen the visual report corresponding to each T1-weighted image in the study. At this point, we must have clear exclusion criteria. Some images may need to be excluded at this point. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? If the quality of the anatomical image is deemed sufficient for the study requirements, we move on to screening the individual visual reports generated with MRIQC for both diffusion and functional MRI. Again, some images may not surpass the quality requirements predefined before acquisition and specifically designed for the study at hand. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? We will be carefull and not only run Quality Control, which essentially means trashing data. We also can run Quality Assesment and inform earlier stages of the workflow. For instance, if an artifact must be addressed during scanning, or the scanner requires a revision. It is critical that these feedback loops are triggered immediately so that artifacts do not replicate for the rest of the collection effort. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? The pattern repeats after preprocessing, and fMRIPrep, and dMRIPrep generate reports just for that. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? Again, excluded images may require actions at earlier stages. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? The pattern repeats at the connectivity extraction phase. --- count:false ## QA/QC of the neuroimaging worflow
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? With a corresponding feedback loop. For instance, we may need to revise nuisance regression. --- ## QA/QC protocols: 'Swiss-cheese security model' .boxed-content[ .center[
.small[ [BenAveling @ wikipedia](https://en.wikipedia.org/wiki/Swiss_cheese_model#/media/File:Swiss_cheese_model_textless.svg) ] ] ] ??? For those with knowledge about security protocols, this approach will surely evoke the Swiss cheese model. The model assumes that all QC checkpoints will have holes through which data progresses toward analysis. By layering several QC checkpoints looking at the data in different ways, we make sure that images with potential to bias the results do not make all the way through the workflow. --- ## MRIQC: QA/QC of unprocessed data
.boxed-content[
.align-right[ ([Provins et al., 2023](http://doi.org/10.3389/fnimg.2022.1073734)) ] ] ??? Today, we will be focusing in the first layer on unprocessed data, which we implement with MRIQC. --- count:false ## MRIQC: QA/QC of unprocessed data
.boxed-content[
.align-right[ ([Esteban et al., 2017](http://doi.org/10.1371/journal.pone.0184661)) ] ] ??? Hence, this section of the workflow. --- ## MRIQC: QA/QC of unprocessed data
.boxed-content[ .center[
]
.align-right[ ([Esteban et al., 2017](http://doi.org/10.1371/journal.pone.0184661)) ] ] ??? We created MRIQC at Stanford back in 2016, to assess anatomical and functional images shared through OpenNeuro. --- ## MRIQC: QA/QC of unprocessed data .boxed-content.center[
] ??? MRIQC provides support for visual and automated assessment. Visual assessment is supported with the individual reports, which I'll introduce later. Automated assessment can be built on a number of image quality metrics that we extract from every image. In this slide, you can see a "group" report generated by MRIQC, plotting several image quality metrics corresponding to the T1w images in a large dataset. --- count:false ## MRIQC: QA/QC of unprocessed data .boxed-content.center[
] ??? Let's focus on the two first, which are the coefficient of joint variation of gray and white matter, and the contrast-to-noise ratio. --- count:false ## MRIQC: QA/QC of unprocessed data .boxed-content.center[
] ??? If we zoom in, we can find some datapoints where these two particular metrics are outlying. We can click on the particular datapoint, and the individual report opens up in our screen. --- count:false ## MRIQC: QA/QC of unprocessed data .boxed-content.center[
] ??? In this case, we can see how this particular T1 weighted image has obvious head motion patterns that probably makes it unusable for almost any application. --- ## Presenting MRIQC for DWI .boxed-content.center[
] ??? Over the last year, we have improved MRIQC to generate quality metrics and visualizations. The one you can see on the screen shows the shell-wise joint distribution of SNR (with reference to the noise floor calculated by means of PCA) in the x axis and FA in the y axes. --- ## Data — The Human Connectome PHantom (HCPh) .boxed-content.center[
] ??? The development of MRIQC for diffusion has gone hand-in-hand with the collection of the first subset of our Human Connectome Phantom study. This is developed as a registered report and received Stage 1 at Nature Methods. We are currently working toward the Stage 2, and will openly release the data with it. The dataset consists of 72 sessions of diffusion and functional MRI for connectivity analyses. --- ## Data — The Human Connectome PHantom (HCPh)
.boxed-content[ .pull-left.center[ ### SOPs
] .pull-right.center[ ### Reg. Report
] ] ??? --- ## Results — HCPh
.boxed-content[ .pull-left.center[ ### Browseable reports
] .pull-right.center[ ### Datalad / Git annex
] ] ??? --- count:false .boxed-content[
] ??? --- ## Results — 100 Healthy Brain Network
.boxed-content[ .pull-left.center[ ### Browseable reports
] .pull-right.center[ ### Datalad / Git annex
] ] ??? --- count:false .boxed-content[
] ??? --- .boxed-content.center[
] ??? --- ## Results — 100 Healthy Brain Network .boxed-content.center[
] ??? --- ## Results — 100 Healthy Brain Network .boxed-content.center[
] ??? --- ## Results — 100 Healthy Brain Network .boxed-content.center[
] ??? --- ## Resources .boxed-content[ .pull-left.center[ ### NiPreps QC Book
] .pull-right.center[ ### Poster 3001
Today, 15:45 - 16:45 .small[ Digital Poster Session - Multi-Center Reproducibility & Tools Analysis Methods Exhibition Hall (Hall 403) ] ] ] ??? --- ## Conclusion .boxed-content[ .distribute.large[ * Implementing a solid QA/QC is critical to the reliability of research * Layering of QA/QC checkpoints * Resources for efficient screening * MRIQC and the new extension to dMRI * Introduced the Human Connectome PHantom * Interest of exploratory analyses on IQMs ] ] ??? --- layout: false count: false .center[
## Thanks
### Oscar Esteban < phd@oscaresteban.es > Harnessing QA/QC protocols for diffusion MRI neuroimaging workflows with MRIQC Funding: [SNSF 185872](https://data.snf.ch/grants/grant/185872), [RF1MH121867](https://reporter.nih.gov/project-details/10260312), [CZI EOSS5-000266](https://chanzuckerberg.com/eoss/proposals/nipreps-a-community-framework-for-reproducible-neuroimaging/) ] ???