neuroprismlab / calculate_effeX

Calculate effect size precursors to effect size explorer
1 stars 0 forks source link

Exclude participants with missing brain data or score data #3

Open halleeshearer opened 1 month ago

halleeshearer commented 1 month ago

Exclude around line 300, right before pooling. Can follow the thresholding code for a rough template. Can overwrite m, don't overwrite m2.

halleeshearer commented 1 month ago

Missing score data addressed in commit 3594adb.

Now going to write function that takes brain data and score data (and motion data?) and only keeps data from subjects that exist in both.

halleeshearer commented 1 month ago

incorporated code into r and t sections of do_group_level so that it finds subject IDs of subjects that have brain data, score data, and motion data for the given test, and then filters brain data, score, and motion, by those subject IDs. It also now makes sure that the brain, score, and motion data are all sorted in the same order by subject IDs.