The Neurophysiological Biomarker Toolbox (NBT)



How to extract biomarkers from multiple conditions

To extract a biomarker from multiple conditions we use the command nbt_getBiomarkerSeveralConditions(noConditions). This command takes as an argument the number of different conditions that you want to extract a biomarker from, and returns a structure containing the biomarker values for all subjects for each of those conditions. In theis example you will be shown how to extract the biomarker feedbackSignal.pBelowMedLine from three conditions (ALUP,ALDO,ECR) and store it in a structure feedbackSignals.

  1. Type feedbackSignals = nbt_getBiomarkerSeveralConditions(3);

  2. You will be then asked to select the directory where your analysis and info files are stored. In this case they are stored in the directory studentCleaned

  3. Next you have to choose the three conditions that you want to extract the biomarkers from. Make sure you remember which order you pick the conditions. In this case we choose ALDO as condition 1.
    . ALUP as condition 2.
    and ECR as condition 3.

  4. You will then have to pick the biomarker object that you want to extract a biomarker from. In our case it is the biomarker object feedbackSignal.

  5. You then have to pick the biomarker from that object that you want to store. In our case it is the biomarker object pBelowMedLine.

The function will now extract the biomarker from all of those conditions and store it in the structure feedbackSignals. Lets take a look at feedbackSignals:
.
Here we can see that it contains three arrays (c1,c2,c3). c1 contains the values for the condition ALDO, c2 contains the values for ALUP and c3 contains the values for ECR. Each of these is a 1×13 array, containing a value for each of the 13 subjects. e.g. Subject 3 was 61% below the midline Alpha in condition ALDO, 25% below the midline Alpha in condition ALUP and 56% below the midline in condition ECR.

tutorial/how_to_extract_multiple_biomarkers.txt · Last modified: 2011/12/14 10:08 by Richard Hardstone
The NBTwiki platform - version 2.8 - 9 May 2013
Copyright (C) 2008-2015