You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regardless of what I do with SURFvextract, I can't seem to move that step forward. I stored it as Temp, but also load the thickness.rds file and for both approaches, I get the following errors:
> thickness_smoothed = smooth_surf(Temp, 10)
Checking for VertexWiseR system requirements ...
Checking for Miniconda or Python environment...
Checking Numpy's version...
Checking for BrainStat package...
Checking BrainStat's analysis data...
No system requirements are missing. ✓
Error in smooth_surf(Temp, 10) :
surf_data vector should only contain 20484 (fsaverage5), 81924 (fsaverage6) or 14524 (hippocampal vertices) columns
Hi Jamie, assuming that SURFvextract has completed successfully, Temp would be a list object where Temp[[1]] is the subject list and Temp[[2]] is the thickness data.
You should be able to proceed with smoothing and subsequent analyses with the thickness data within Temp[[2]]. For instance:
thickness_smoothed = smooth_surf(Temp[[2]], 10)
If you don't want the subject list to be combined with the thickness data in a list object, you can optionally set include subj_ID = FALSE, within SURFvextract(), such that the output will be a matrix object containing only the thickness data
I've pushed a modification of the commands so they should automatically read the surface matrix within the extraction functions' output (if subj_ID was set as TRUE, and the subject ID list was appended instead of the surface matrix on its own). That will avoid forcing the user to specify the matrix. It is in the git version right now and will be in the next CRAN update.
Hello all,
I got VertexWiseR kickstarted, but have been having trouble importing Freesurfer data using SURFvextract.
Here are the commands I ran:
Regardless of what I do with SURFvextract, I can't seem to move that step forward. I stored it as Temp, but also load the thickness.rds file and for both approaches, I get the following errors:
Here's my R sessionInfo
And I'm doing this in R, but got some similar errors in R Studio.
Thoughts about troubleshooting this?
Any thoughts are much appreciated!
Jamie.
The text was updated successfully, but these errors were encountered: