You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eegERP.Rmd
+21-17Lines changed: 21 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
1
---
2
2
title: "EEG and ERP Processing and Analysis"
3
+
output:
4
+
html_document:
5
+
code_folding: show
3
6
---
4
7
5
8
```{r setup, include = FALSE}
6
9
knitr::opts_chunk$set(
7
10
echo = TRUE,
8
11
error = TRUE,
9
-
comment = "")
12
+
comment = "",
13
+
class.source = "fold-show")
10
14
```
11
15
12
16
# Extracting Behavioral Data from `E-Prime`
@@ -76,7 +80,7 @@ The following section describes the MATLAB scripts used to manage HAPPE output f
76
80
- In the second section of our script file, we set our "threshold" for the minimum number of trials that need to be retained after pre-processing for a subject's data to be eligible for PCA.
77
81
Additional thresholds can also be set for things like number of channels retained, but these are not currently in use.
78
82
79
-
```matlab
83
+
```
80
84
% Set quality threshold parameters
81
85
trialCutoff = 10;
82
86
```
@@ -1194,7 +1198,7 @@ Comparable scripts have also been created for FishShark and Stop Signal tasks.
1194
1198
1. Create a list of all PCA component files in the specified directory.
1195
1199
This list will contain the full filepaths to each component file which are used to read the data into R.
@@ -1205,27 +1209,27 @@ Comparable scripts have also been created for FishShark and Stop Signal tasks.
1205
1209
This list will be used to rename columns in the final composite dataset according to the name of the component file.
1206
1210
For this reason, the naming convention of each component files is crucial; this will determine how the corresponding column of the composite datafile is named.
@@ -1280,7 +1284,7 @@ Comparable scripts have also been created for FishShark and Stop Signal tasks.
1280
1284
- The grand average data does not have row or column labels, but the columns represent the EEG net channels in numerical order (1-129).
1281
1285
We can therefore use their column index values to select the desired electrodes; so, the list containing the channel numbers should include ONLY numbers.
1282
1286
The code that selects these channels out of the full dataset will rely on numerical input.
0 commit comments