| Literature DB >> 34848298 |
Kay Robbins1, Dung Truong2, Stefan Appelhoff3, Arnaud Delorme4, Scott Makeig2.
Abstract
Event-related data analysis plays a central role in EEG and MEG (MEEG) and other neuroimaging modalities including fMRI. Choices about which events to report and how to annotate their full natures significantly influence the value, reliability, and reproducibility of neuroimaging datasets for further analysis and meta- or mega-analysis. A powerful annotation strategy using the new third-generation formulation of the Hierarchical Event Descriptors (HED) framework and tools (hedtags.org) combines robust event description with details of experiment design and metadata in a human-readable as well as machine-actionable form, making event annotation relevant to the full range of neuroimaging and other time series data. This paper considers the event design and annotation process using as a case study the well-known multi-subject, multimodal dataset of Wakeman and Henson made available by its authors as a Brain Imaging Data Structure (BIDS) dataset (bids.neuroimaging.io). We propose a set of best practices and guidelines for event annotation integrated in a natural way into the BIDS metadata file architecture, examine the impact of event design decisions, and provide a working example of organizing events in MEEG and other neuroimaging data. We demonstrate how annotations using HED can document events occurring during neuroimaging experiments as well as their interrelationships, providing machine-actionable annotation enabling automated within- and across-experiment analysis and comparisons. We discuss the evolution of HED software tools and have made available an accompanying HED-annotated BIDS-formated edition of the MEEG data of the Wakeman and Henson dataset (openneuro.org, ds003645).Entities:
Keywords: BIDS; EEG; Event annotation; Events; HED; HED-3G; Hierarchical event descriptors; MEG; Time series
Mesh:
Year: 2021 PMID: 34848298 PMCID: PMC8925904 DOI: 10.1016/j.neuroimage.2021.118766
Source DB: PubMed Journal: Neuroimage ISSN: 1053-8119 Impact factor: 6.556
Fig. 1.Schematic depiction of event processes during an MEEG experiment and their associated event markers displayed as dots on the timeline to index the latencies (time points) at which event process time boundaries or phase transitions occur in an experiment data recording. Below the (top, black) experiment timeline: (orange bar) Onset and Offset markers for the reach task condition; (green bars) Onset and Offset markers of the visual presentation periods for image 1 and image 2 presentations; (purple bar) time course of a participant reach to touch movement. In addition to having Onset and Offset event markers, the reaching movement includes an intermediate marker of a recognized arm/hand trajectory course correction.
Fig. 2.Schematic diagram of the temporal organization of events in two trials of a W-H MEEG recording with an excerpt of the BIDS task events file built using HED-based encoding strategies. Upper left: Recording begins. Recording setup includes selection of the key assignment for responses in the face symmetry judgment task. The participant was asked to fixate on a central cross and to refrain from blinking while face images were presented. Lower timelines: Sensory events were visual image presentations; participant action events were key presses representing face symmetry task responses. Bottom table: a BIDS task events file excerpt corresponding to the first trial in the data. We will use this example throughout the paper. (See an expanded version in Table 5, Section 3.1).
Fig. 3.Left: Graphic of a partially expanded top-level HED schema tree (see https://www.hedtags.org/display_hed.html for a view of the complete schema in an easy-to-search expanding format). Right: A table with basic annotations of the five main W-H event marker types using HED. The left column of the table has user-defined terms used for convenience to refer to these event markers in the BIDS event files. The right column shows the underlying mapping of these terms to the common HED vocabulary.
The HED event marker annotations that capture repeating details of the W-H timeline.
|
|
Encoding of the 3×3 experimental design for the W-H experiment using columns face_type and rep_status in the event files.
| Level | HED Annotation |
|---|---|
| | |
| famous_face | |
| unfamiliar_face | |
| scrambled_face | |
| | |
| first_show | |
| immediate_repeat | |
| delayed_repeat | |
Encoding of the key-assignment condition variable using experiment control events (rows rather than columns of the task events files).
|
|
Mechanisms HED annotations in BIDS .json and .tsv metadata files. Many datasets may need only one …events.json file placed in the top (Dataset) level folder. Note: …events.json files may also be placed at intermediate levels of the BIDS dataset to annotate items specific to a participant, session, or modality.
| BIDS | Information file | Function |
|---|---|---|
|
| …events.json | Provides descriptions of the columns that are
applicable to all the … |
| participants.tsv | Lists the participants. [A HED column may be
used to add | |
|
| …sessions.tsv | Lists the sessions per participant. [A HED
column may be used to add |
|
| …scans.tsv | Lists the scans in the session (optional). [A
HED column may be used to add |
|
| …events.tsv | Lists the events in the scan (run). The column
meanings and associated HED tags are given in the dataset-level
…events.json file or other applicable …events.json files
in the hierarchy. [A HED column in … |
An excerpted BIDS …events.tsv file from the dataset displayed schematically in Fig. 2. The table includes the initial setup events as well as those defined in Table 1. Color-coded columns have relevant HED annotations defined in the …events.json sidecar file. Table 7 uses the same color-coding to dissect the expanded HED annotation of one of these events (the emboldened row in task events table below).
| onset | duration | sample | event_type | face_type | rep_status | rep_lag | value | stim_file |
|---|---|---|---|---|---|---|---|---|
| 0.400 | n/a | 1 | setup_left_sym | n/a | n/a | n/a | 2 | n/a |
| 23.870 | n/a | 26275 | show_face_initial | famous_face | first_show | n/a | 7 | f032.bmp |
| 24.081 | n/a | 26488 | left_press | n/a | n/a | n/a | 256 | n/a |
| 24.750 | n/a | 27225 | show_circle | n/a | n/a | n/a | 0 | circle.bmp |
| 26.457 | n/a | 29095 | show_cross | n/a | n/a | n/a | 1 | cross.bmp |
|
|
|
|
|
|
|
|
|
|
| 27.913 | n/a | 30701 | show_circle | n/a | n/a | n/a | 0 | circle.bmp |
| 27.990 | n/a | 30789 | right_press | n/a | n/a | n/a | 4096 | n/a |
Assembled HED string for an immediate repeat of an image of a famous face (the seventh event in Table 5). The annotation also marks the end of the cross-only presentation and the onset of a blink inhibition period. The color coding of Table 5 is used to show the correspondence between annotation from the JSON sidecar file and the …events.tsv file column (event_type: blue, face_type: plum, rep_status: green, rep_lag: mustard, and stim_file: tan).
| onset | duration | sample | event_type | face_type | rep_status | rep_lag | value | stim_file |
|---|---|---|---|---|---|---|---|---|
| 26.940 | n/a | 29634 | show_face | famous_face | immediate_repeat | 1 | 8 | f032.bmp |
Excerpt of the top (dataset) level JSON sidecar file (…events.json) for the W-H data.
|
|
MEEG event file for run 1 of session 1 of subject 01, as originally shared.
| onset | duration | onset_sample | stim_type | trigger | stim_file |
|---|---|---|---|---|---|
| 24.2073 | 0 | 26,628 | Unfamiliar | 13 | meg/u032.bmp |
| 27.2473 | 0 | 29,972 | Unfamiliar | 14 | meg/u032.bmp |
| 30.3545 | 0 | 33,390 | Unfamiliar | 13 | meg/u088.bmp |
| 33.3618 | 0 | 36,698 | Unfamiliar | 13 | meg/u084.bmp |
The 12 trigger values from the original W-H (shaded rows) and their respective interpretations.
|
|
The W-H experiment fMRI event file for the first run of session 1 for subject 01, as originally shared.
| onset | duration | cross_duration | stim_type | trigger | button_pushed | response_time | stim_file |
|---|---|---|---|---|---|---|---|
| 0 | 0.908 | 0.534 | FAMOUS | 5 | 4 | 2.158 | func/f013.bmp |
| 3.273 | 0.962 | 0.586 | FAMOUS | 6 | 4 | 1.233 | func/f013.bmp |
| 6.647 | 0.825 | 0.546 | UNFAMILIAR | 13 | 4 | 1.183 | func/u014.bmp |
Note this column, mistakenly labeled circle_duration in the original distribution, has been corrected.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |