Description Usage Arguments Value Note See Also
Create clusterinfo instance from thresholded per-vertex data overlays.
1 2 3 4 5 6 7 8 | clusterinfo_from_thresholded_overlay(
lh_threshmap,
rh_threshmap,
value_thresholded = 0,
template_subject = "fsaverage",
subjects_dir = file.path(getOption("brainloc.fs_home", default =
Sys.getenv("FREESURFER_HOME")), "subjects")
)
|
lh_threshmap |
double vector, the stats map. Typically a thresholded t-value map. Must have one value per vertex. The value assigned to vertices that have been removed by the thresholding can be set with parameter 'value_thresholded'. If a character string, the parameter will be interpreted as file path and loaded with |
rh_threshmap |
like |
value_thresholded |
scalar double, the data value of thresholded vertices in the |
template_subject |
character string, the template subject name. Typically 'fsaverage' or 'fsaverage6'. Must be some MNI305 space subject. |
subjects_dir |
character string, file system path to a directory containing the recon-all data for the template_subject. Used to load surfaces and annotations to identify cluster coordinates and atlas regions. |
a clusterinfo
instance.
This can only work if there are no clusters which touch each other. I think this can never happen, but we should double-check.
clusterinfo
If you do have a separate t-map and a cluster overlay map instead of only a thresholded t-map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.