[Eeglablist] plotting group level ERSPs with only specified subjects

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Mon Apr 4 20:00:35 PDT 2016


Dear Chantelle,

After the option 'subject', you should enter indices in numbers, not letter
strings, according to the help of the function.

    'subject'  - [numeric vector]  In 'changrp' mode (above), index of
                 the subject(s) to plot. Else by default, plot all
components
                 in the cluster.

Could you try it to see if it works?

Makoto

On Mon, Mar 7, 2016 at 11:48 AM, Kinzel, Chantelle C <
CKinzel at mednet.ucla.edu> wrote:

> Hello,
>
> Within the study design I would like to plot group level ERSPs without
> specific subjects from each group, rather than the entire group. I want to
> do this to plot group level ERSPs without outliers included, which were
> identified after creating the study (from extracting values) without having
> to re-create the study design.
>
> I tried using the following code, however it still just plotted all the
> groups with all the subjects (I think from the 'subjects' being pluralized:
>
> STUDY = std_erspplot(STUDY,ALLEEG,'channels',{'Fp1'}, 'subjects',
> {'subjID1'  'subjID2'  'subjID3'}, 'plotsubjects', 'off' );
>
> Yet if I run the same command with 'subject' ( not pluralized) then I get
> the following error message:
>
> Error using std_erspplot (line 164)
> std_erspstatplot error: argument 'subject' must be a string
>
>
> If anyone has any suggestions it would be greatly appreciated!
>
> Thanks,
> Chantelle.
>
>
> Chantelle Kinzel,
> Research Associate
> A7-435 UCLA, Semel Institute for Neuroscience and Human Behavior
> Email: ckinzel at mednet.ucla.edu
> Phone: (425) 760-8669
>
> "As long as our brain is a mystery, the universe, the reflection of the
> structure of the brain will also be a mystery." - Santiago Ramon y Cajal
>
> ------------------------------
>
> UCLA HEALTH SCIENCES IMPORTANT WARNING: This email (and any attachments)
> is only intended for the use of the person or entity to which it is
> addressed, and may contain information that is privileged and confidential.
> You, the recipient, are obligated to maintain it in a safe, secure and
> confidential manner. Unauthorized redisclosure or failure to maintain
> confidentiality may subject you to federal and state penalties. If you are
> not the intended recipient, please immediately notify us by return email,
> and delete this message from your computer.
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160404/051947d4/attachment.html>


More information about the eeglablist mailing list