|
|
**Table of Contents**
|
|
|
|
|
|
[[_TOC_]]
|
|
|
# Creating Marks by Using Scripts
|
|
|
Marks can be generated from computing a flag structure based on any criteria you would like. Creating functions that test the data for particular features is easily done by generating a script.
|
... | ... | @@ -35,7 +37,7 @@ EEG=pop_marks_merge_labels(EEG,'chan_info',{'manual','low_r','bridge'},'target_l |
|
|
% Removes the *manual* channel mark label which deletes the channels stored in the *lnkflags* structure and any others that were merged into manual.
|
|
|
EEG = pop_marks_select_data(EEG, 'channel marks', [], 'labels', {'manual'}, 'remove', 'on');
|
|
|
```
|
|
|
More information on the marks functions can be found on the [Functions](https://git.sharcnet.ca/bucanl_eeglab_extensions/vised_marks/wikis/functions) and [Marks Structure Design](https://git.sharcnet.ca/bucanl_eeglab_extensions/vised_marks/wikis/marks) wiki pages. In the *scalpart.htb* script there are many mark labels all merged into *manual*. Areas marked with *manual* are then hidden before the data is given to an ICA analysis. If you want to remove a single mark label you can simplify the code to the following, directly rejecting the marks.
|
|
|
More information on the marks functions can be found on the [Functions](functions) and [Marks Structure Design](marks) wiki pages. In the *scalpart.htb* script there are many mark labels all merged into *manual*. Areas marked with *manual* are then hidden before the data is given to an ICA analysis. If you want to remove a single mark label you can simplify the code to the following, directly rejecting the marks.
|
|
|
|
|
|
```matlab
|
|
|
% REMOVE FLAGGED channels...
|
... | ... | @@ -48,8 +50,4 @@ Flagging is crucial to preparing data for further analysis such as ICA , as you |
|
|
|
|
|
***
|
|
|
|
|
|
[ :house: **Return to Main Page**](https://git.sharcnet.ca/bucanl_eeglab_extensions/vised_marks/wikis/home)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ :house: **Return to Main Page**](home) |
|
|
\ No newline at end of file |