lcnbeapp / beapp

The Batch Electroencephalography Automated Processing Platform (BEAPP)
Other
35 stars 23 forks source link

Include Diagnosis Update #18

Open trinityhaisch opened 1 year ago

trinityhaisch commented 1 year ago

The BEAPP Diagnosis update enables users to include diagnoses in their processing. This inclusion allows the sorting of files analyzed through pac and itpc by diagnosis. The update also adds diagnosis information to report tables from prepp, ica, psd, and fooof. Additionally, it sorts graphs and Excel sheets from fooof. This feature is applicable only to .mff and .mat file formats.

To include a diagnosis, users need to make specific adjustments:

Modify the "beapp_userinputs" file: In line 138, set "grp_proc_info.include_diagnosis" to 0 or 1. The default is 0 (no diagnosis), while 1 includes diagnosis.

Edit the "beapp_file_info_table" for diagnosis: In the Diagnosis column, assign numbers ≥ 1 to each distinct diagnosis. Avoid using 0.

Configure diagnosis mapping: In line 139, "grp_proc_info.diagnosis_map" should be a non-empty nX2 array, where n is the number of distinct diagnoses. Column 1 contains the diagnosis numbers (matching those in the "beapp_file_info_table"). Column 2 contains corresponding string labels for each diagnosis. For example: {1, 'ASD'; 2, 'TD'}.

Specify the location of the alternative "beapp_file_info_table": Set "grp_proc_info.beapp_alt_beapp_file_info_table_location" to the directory path where the modified table is located.