-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Produce BIDS Derivatives-compatible outputs #5
Comments
I'm currently leaning toward the following outputs:
|
What about the folder structure? My guess is the users will run it in their data folder, say |
Since we're planning to use this as a node in a BIDS App (e.g., fMRIPrep), I think we should dump things into an arbitrarily-named output folder. We can always develop a BIDS App version of the CLI at some point, if there's a demand. It's in the BIDS App version where I think we'd want to try to extract subject and session information, and then develop a folder and filename structure around that. |
Yes, it is trivial then to have some manager code that transfers everything to the right position and applies bids-derivatives naming.
Yes, don't make it overly complicated - this should do! |
Here is what I'm thinking the contents of the files should look like (cross-posted and lightly adapted from ME-ICA/tedana#649): desc-ICA_mixing.tsv (required)
desc-ICA_decomposition.json (required){
"Method": "Independent components analysis with MELODIC ICA algorithm implemented by FSL. Components are sorted by variance explained in descending order.",
"ica_00": {
"Description": "ICA fit to dimensionally-reduced data.",
"Method": "AROMA"
},
"ica_01": {
"Description": "ICA fit to dimensionally-reduced data.",
"Method": "AROMA"
},
"ica_02": {
"Description": "ICA fit to dimensionally-reduced data.",
"Method": "AROMA"
},
"ica_03": {
"Description": "ICA fit to dimensionally-reduced data.",
"Method": "AROMA"
},
"ica_04": {
"Description": "ICA fit to dimensionally-reduced data.",
"Method": "AROMA"
}
} desc-AROMA_metrics.tsv
desc-AROMA_metrics.json{
"Component": {
"Description": "The unique identifier of each component. This identifier matches column names in the mixing matrix TSV file.",
"LongName": "Component identifier"
},
"classification": {
"Description": "Classification from the classification procedure.",
"Levels": {
"accepted": "A component determined to be unrelated to motion. Included in denoised data.",
"ignored": "A low-variance component included in denoised data.",
"rejected": "A motion-related component excluded from denoised data."
},
"LongName": "Component classification"
},
"max_RP_corr": {
"Description": "The maximum robust correlation of each component time series with a model of 72 realignment parameters.",
"LongName": "Maximum motion parameter correlation"
},
"HFC": {
"Description": "The frequency, as fraction of the Nyquist frequency, at which the higher and lower frequencies explain half of the total power between 0.01Hz and Nyquist.",
"LongName": "High-frequency content"
},
} |
@tsalo This makes sense to me. There's no clear connection between |
@effigies Thanks! You're right about the lack of connection. I'm hoping that we can come up with a way to fix that in the long term, but I'm glad this is good for the mean time. |
We have a set of outputs of interest from AROMA, including:
We should figure out how best to make those outputs BIDS Derivatives-compatible.
At minimum, I think we can use filenames that are basically BIDS-ish, like what I propose in ME-ICA/tedana#574. This means using entities and suffixes that match BIDS convention, minus the "source entities" from the original files (e.g.,
sub
,ses
,run
).I don't know if we want to output the classifications/metrics as a json (as in
tedana
) or a tsv. A tsv would be easier to read...The text was updated successfully, but these errors were encountered: