Skip to content

Can GLMdenoise be run on surface data? #6

@billbrod

Description

@billbrod

I would like to run GLMdenoise on surface data (specifically freesurfer .mgz files). Is that possible or does GLMdenoise make some assumptions that require the data to be volumes or something about their spatial relationships to each other? If so, are any tweaks required (e.g., making sure the input data is 4D, with time along the fourth dimension)?

One issue that comes to mind is that there are separate freesurfer .mgz files for the right and left hemisphere; should I just concatenate the data matrices?

I'd like to do this because I save the models, modelmd, and modelse results to nifti files and then project them to the surface. However, the interpolation affects these all in different ways, so that the median of a surface vertex across bootstraps (from models) is no longer the corresponding value on the modelmd surface (and similarly for modelse; the difference for the median is small, but it's large for the standard errors). Running GLMdenoise on surface data seems like the best way around this, but I'd welcome any other suggestions! (Currently, my plan is to ignore the projected modelmd and modelse and recompute the median and standard errors from models)

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