Hello! I’m trying out FitLins for the first time. I’m getting beautiful subject level models, but for the life of me cannot get group level average (I just get blank glass brains). I’ve based my model off of the “Word vs Pseudoword” example. Of note:
- There are 3 conditions: forward, backward, and dichotic. My two contrasts of interest are forward > backward, and dichotic > forward.
- Each participant has one run in each of two sessions (pre and post). I would like group averages separated by session and contrast (so, each contrast at time pre, and each contrast at time post).
Please and thank you in advance!
{
"Name":"story_model001",
"BIDSModelVersion":"1.0.0",
"Description":"dichotic language localizer",
"Input":{
"task":"story"
},
"Nodes":[
{
"Level":"run",
"Name":"subject",
"GroupBy":[
"subject",
"session"
],
"Transformations":{
"Transformer":"pybids-transforms-v1",
"Instructions":[
{
"Name":"Factor",
"Input":[
"trial_type"
]
},
{
"Name":"Convolve",
"Input":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
],
"Model":"spm"
}
]
},
"Model":{
"X":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward",
"framewise_displacement",
"trans_x",
"trans_y",
"trans_z",
"rot_x",
"rot_y",
"rot_z",
"a_comp_cor_00",
"a_comp_cor_01",
"a_comp_cor_02",
"a_comp_cor_03",
"a_comp_cor_04",
"a_comp_cor_05",
1
]
},
"DummyContrasts":{
"Conditions":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
],
"Test":"t"
},
"Contrasts":[
{
"Name":"dichotic_gt_forward",
"ConditionList":[
"trial_type.dichotic",
"trial_type.forward"
],
"Weights":[
1,
-1
],
"Test":"t"
},
{
"Name":"forward_gt_backward",
"ConditionList":[
"trial_type.forward",
"trial_type.backward"
],
"Weights":[
1,
-1
],
"Test":"t"
},
{
"Name":"task_vs_baseline",
"ConditionList":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
],
"Weights":[
0.33,
0.33,
0.33
],
"Test":"t"
}
]
},
{
"Level":"dataset",
"Name":"t-test",
"GroupBy":[
"session",
"contrast"
],
"Model":{
"X":[
1
],
"Type":"glm"
},
"DummyContrasts":{
"Test":"t"
}
},
{
"Level":"dataset",
"Name":"F-test",
"GroupBy":[
"session"
],
"Model":{
"X":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
],
"Type":"glm"
},
"Contrasts":[
{
"Name":"group",
"ConditionList":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
],
"Weights":[
[
1,
0,
0
],
[
0,
1,
0
],
[
0,
0,
1
]
],
"Test":"F"
}
]
}
],
"Edges":[
{
"Source":"subject",
"Destination":"t-test",
"Filter":{
"contrast":[
"dichotic_gt_forward",
"forward_gt_backward",
"task_vs_baseline"
]
}
},
{
"Source":"subject",
"Destination":"F-test",
"Filter":{
"contrast":[
"trial_type.dichotic",
"trial_type.forward",
"trial_type.backward"
]
}
}
]
}