mriqc icon indicating copy to clipboard operation
mriqc copied to clipboard

Do not discard confound timeseries and preserve all data?

Open oesteban opened this issue 2 years ago • 3 comments

This https://github.com/nipreps/mriqc/issues/965#issuecomment-1114570370 has brought up the issue that we are losing a great deal of granularity by reporting only summaries of metrics for BOLD images.

oesteban avatar May 02 '22 07:05 oesteban

I would be interested in this feature and am potentially available to help with an implementation. I'm currently grading scans based on average framewise displacement, proportion of frames with motion above a given threshold, and the maximum motion per frame. MRIQC already makes the first two available, but not the third. Also, without the full timeseries, it can be tricky to explore the impact of different thresholds in the second. So, having the full timeseries would be helpful.

psadil avatar Aug 18 '22 14:08 psadil

If you take on it, I don't see any reason not to add it to MRIQC :)

@eilidhmacnicol might want to keep an eye on this one too.

oesteban avatar Aug 19 '22 13:08 oesteban

Great! Happy for the buy-in. Let me know if there is a more formal procedure for specifying a design, but I'm imagining the following decision points.

For values, I'm currently thinking

6 motion parameters, DVARS, AFNI’s outlier ratio, AFNI’s quality index

Any others to include?

For storage, does a tsv sound okay? Relatedly, for size, I'm inclined to not embed the timeseries in the html report. And for simplicity, I'm also inclined to not upload the values to the webapi. But please let me know if this should be reconsidered.

I'm guessing that the original summaries would still be stored (in the original json), as a convenience and to not break workflows.

psadil avatar Aug 19 '22 17:08 psadil