Skip to content

Conversation

@jocwilliams
Copy link

This issue is when PALM was computing the adjacency matrix for spatial statistics. Even though these adjacency matrices are only necessary for computing spatial statistics using surfaces, PALM was attempting to calculate the adjacency matrix for volumes as well. This was solved by adding a check while iterating through inputs for whether or not the given input is a volume using plm.Yisvol(i).

… cause PALM to crash if one of the multiple inputs is a volume while another is a surface.
@jocwilliams jocwilliams marked this pull request as ready for review July 2, 2023 18:03
@andersonwinkler
Copy link
Owner

Hi John,

Thank you. I'll review.

Could you tell me more about your use case? Normally we'd enter multiple inputs to correct across them, which is ok for t-stats, but these need no adjacency; for spatial statistics, that need adjacency, we can't correct across representations as these stats aren't comparable. For example, we can't correct cluster extent from voxel and surface representations as cluster sizes in each case follow different distributions.

But depending on the data, perhaps there could be exceptions. Let me know.

Thanks!

All the best,

Anderson

@jocwilliams
Copy link
Author

jocwilliams commented Jul 7, 2023 via email

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants