Skip to content

ENH?: spatio-temporal-clustering baseline contrast example #608

Closed

Description

@dengemann

At the risk of adding yet another example for contrasts ...
This would exemplify how to compute group-level ROIs from measurements using a modified 1-samp t-test.

https://gist.github.com/dengemann/52a06b8ada2e975990bc

If a second person around deems this cool I'm going to polish it and submit a PR
baseline_contrast2
baseline_contrast1

1, 2, ... ?

Activity

  1. agramfort commented on May 27, 2013

    @agramfort
    SponsorMember

    can you clarify ? it's unclear how different this is from what we have?

    A

  2. dengemann commented on May 27, 2013

    @dengemann
    MemberAuthor

    Maybe it's not that obvious, but this demonstrates how to do a baseline-contrast for all conditions to get the clusters significantly activated == above a dSPM value of 4 across all conditions. As this is a somewhat more sensitive measure, I had to to change a few parameters to reduce the results to just a few clusters. The idea is that you can use this technique to define ROIs at the group level wherever differences between your conditions are subtle. Makes more sense now?

  3. agramfort commented on May 27, 2013

    @agramfort
    SponsorMember

    ok got it. If we start to have a lot of very similar examples with a lot of
    code duplication maybe it's time to have new functions in the main mne
    module… For this example I feel there is only a few lines to change.

  4. dengemann commented on May 27, 2013

    @dengemann
    MemberAuthor

    My feeling was similar, that's why I did not make a PR after having figured out how to do it. Another variant I had in mind was to perform individual baseline contrasts with clustering for each condition to then compute a conjunction / disjunction map ... but that might exceed the scope of a simple example.
    What kind of new functions did you have in mind?

  5. agramfort commented on May 27, 2013

    @agramfort
    SponsorMember

    My feeling was similar, that's why I did not make a PR after having figured out how to do it. Another variant I had in mind was to perform individual baseline contrasts with clustering for each condition to then compute a conjunction / disjunction map ... but that might exceed the scope of a simple example.
    What kind of new functions did you have in mind?

    I would have to look but not in the next few days.

  6. larsoner commented on Apr 18, 2018

    @larsoner
    Member

    Rolling this into #4859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions