I have a question about conducting a group analysis for surface searchlight data in CosmoMVPA. I think there is a problem in my pipeline but not sure where to start and would appreciate any assistance. Here is a summary of my procedure:1. functional data is preprocessed in native functional space to yield single-trial estimates2. anatomical data is processed with freesurfer's recon-all3. I used the prep_afni_surf.py script w/ the anatomical that is aligned with the native functional space
4. conducted the surface-based analysis with the volume data plus cosmo_surficial_neighborhood using the outputs of prep_afni_surf.py.
5. loaded the results and combined with cosmo_stack
6. GOAL: use cosmo_cluster_neighborhood to do group analysisI am stuck at this point, because cosmo_cluster_neighborhood expects vertices and faces. However, cosmo_surficial_neighborhood for any given subjects gives me the same vertices, but different faces.
Did you create standardized surfaces using AFNI's MapIcosahedron (the ld option in prep_afni_surf.py)?
4. conducted the surface-based analysis with the volume data plus cosmo_surficial_neighborhood using the outputs of prep_afni_surf.py.I assume for each participant separately, correct? The output has one value for each surface vertex?
5. loaded the results and combined with cosmo_stackIn the combined dataset, is .samples field of size n_participants x n_vertices?
6. GOAL: use cosmo_cluster_neighborhood to do group analysisI am stuck at this point, because cosmo_cluster_neighborhood expects vertices and faces. However, cosmo_surficial_neighborhood for any given subjects gives me the same vertices, but different faces.It is possible that the vertex coordinates differ across participants, but that the face indices (defining which vertices make triangles on the surface) are identical? Because that is what I would expect for standardized surfaces after mapicosahedron.
On Jan 15, 2024, at 16:57, Greg Valley <gregva...@gmail.com> wrote:
Thanks Nick -- see below, tldr everything seems to check out (I got vertices and faces reversed in my original characterization -- vertices differ but faces are the same across subjects). So the question is, what should I input to cosmo_cluster_neighborhood for the vertices argument under these circumstances?
[…]
6. GOAL: use cosmo_cluster_neighborhood to do group analysisI am stuck at this point, because cosmo_cluster_neighborhood expects vertices and faces. However, cosmo_surficial_neighborhood for any given subjects gives me the same vertices, but different faces.It is possible that the vertex coordinates differ across participants, but that the face indices (defining which vertices make triangles on the surface) are identical? Because that is what I would expect for standardized surfaces after mapicosahedron.Yes, my apologies -- I got it reversed. Vertices differ but faces are identical.Given that this is what you'd expect -- what should be the input to cosmo_cluster_neighborhood, for the vertices argument?
On 15 Jan 2024, at 19:35, Greg Valley <gregva...@gmail.com> wrote:
Great, thanks Nick -- I'll try this. To be clear, though, what modification to my pipeline would get all participants into a standard space where they would all have same vertices/faces? Or is that even possible? I'm mixed up because that's what I thought I was doing.
--
You received this message because you are subscribed to the Google Groups "CoSMoMVPA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cosmomvpa+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/cosmomvpa/72104dcc-bc7c-4f38-ac62-1314da8d6240n%40googlegroups.com.