Hi
I followed the below steps:
1. wb_command -surface-sphere-project-unproject Data/{patient_id}/{patient_id}.{hemisphere}.sphere.MSMAll.native.surf.gii standard_mesh_atlases/fsaverage.{hemisphere}_LR.spherical_std.164k_fs_LR.surf.gii standard_mesh_atlases/resample_fsaverage/fs_LR-deformed_to-fsaverage.{hemisphere}.sphere.164k_fs_LR.surf.gii {patient_id}.{hemisphere}.sphere.fsaverage.native.surf.gii
2. wb_command -surface-resample Data/{patient_id}/{patient_id}.{hemisphere}.midthickness.native.surf.gii {patient_id}.{hemisphere}.sphere.fsaverage.native.surf.gii standard_mesh_atlases/resample_fsaverage/fsaverage4_std_sphere.{hemisphere}.3k_fsavg_{hemisphere}.surf.gii BARYCENTRIC {patient_id}.{hemisphere}.midthickness.3k_fsavg_{hemisphere}.surf.gii
3. wb_command -cifti-separate
4. wb_command -metric-resample standard_mesh_atlases/resample_fsaverage/fs_LR-deformed_to-fsaverage.{hemisphere}.sphere.32k_fs_LR.surf.gii standard_mesh_atlases/resample_fsaverage/fsaverage4_std_sphere.{hemisphere}.3k_fsavg_{hemisphere}.surf.gii ADAP_BARY_AREA {hemisphere}_hemisphere_fsaverage4_{patient_id}_{rest_key}.func.gii -area-surfs {patient_id}.{hemisphere}.midthickness_MSMAll.32k_fs_LR.surf.gii {patient_id}.{hemisphere}.midthickness.3k_fsavg_{hemisphere}.surf.gii
5. wb_command -cifti-create-dense-timeseries left_file -left-metric right_file right_metric_file
This is how I resampled the data into fsaverage4. Now when I checked for zero standard deviation vertices, there 323 and non-zero 4801. So I wanted filter non-zero and then calculate functional connectivity.
Best
Sovesh