Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
completedprojects:eegsnr [2024/12/02 10:07] – sdm63 | completedprojects:eegsnr [2025/05/06 13:09] (current) – sdm63 | ||
---|---|---|---|
Line 22: | Line 22: | ||
== Code Documentation == | == Code Documentation == | ||
* Preprocessing | * Preprocessing | ||
- | * Preprocessing can be run using [[https:// | + | * Preprocessing can be run using [[https:// |
* < | * < | ||
* Pulls in raw data from hera(' | * Pulls in raw data from hera(' | ||
Line 52: | Line 52: | ||
\\ | \\ | ||
* Calculate Total, Evoked, and Spontaneous Activity | * Calculate Total, Evoked, and Spontaneous Activity | ||
- | * Run the bash script [[https:// | + | * Run the bash script [[https:// |
* < | * < | ||
* Calls totalEvokedSpontaneous.m (Cortical_SNR_Deveopment/ | * Calls totalEvokedSpontaneous.m (Cortical_SNR_Deveopment/ | ||
Line 63: | Line 63: | ||
\\ | \\ | ||
* Combine Individual Subject Files | * Combine Individual Subject Files | ||
- | * [[https:// | + | * [[https:// |
* < | * < | ||
# | # | ||
Line 77: | Line 77: | ||
\\ | \\ | ||
* Combine All Stimulus Conditions | * Combine All Stimulus Conditions | ||
- | * [[https:// | + | * [[https:// |
* Combines the csv files on the previous step into one large csv files with all frequency stimulus conditions | * Combines the csv files on the previous step into one large csv files with all frequency stimulus conditions | ||
* Preforms outlier detection (2 SDs above the mean) | * Preforms outlier detection (2 SDs above the mean) | ||
Line 83: | Line 83: | ||
\\ | \\ | ||
* Impute missing data and Calculate frontal region PCA | * Impute missing data and Calculate frontal region PCA | ||
- | * [[https:// | + | * [[https:// |
* Read in csv with all subjects info | * Read in csv with all subjects info | ||
* Select the freq and hertz combo you want to analyze | * Select the freq and hertz combo you want to analyze | ||
Line 99: | Line 99: | ||
\\ | \\ | ||
* Figures and Statistics | * Figures and Statistics | ||
- | * [[https:// | + | * [[https:// |
* To assess developmental trajectories of cortical SNR activity, we implemented GAMMs on the first principal component, PC1, of evoked power, spontaneous power, and SNR, including random intercepts estimated for each participant. | * To assess developmental trajectories of cortical SNR activity, we implemented GAMMs on the first principal component, PC1, of evoked power, spontaneous power, and SNR, including random intercepts estimated for each participant. | ||
* Regression splines were implemented (4 degrees of freedom) to assess linear and non-linear effects. | * Regression splines were implemented (4 degrees of freedom) to assess linear and non-linear effects. |