Description Usage Arguments Value See Also
Create clusterinfo data structure from files or pre-loaded data.
1 2 3 4 5 6 7 8 9 | clusterinfo(
lh_overlay,
rh_overlay,
lh_statmap,
rh_statmap,
template_subject = "fsaverage",
subjects_dir = file.path(getOption("brainloc.fs_home", default =
Sys.getenv("FREESURFER_HOME")), "subjects")
)
|
lh_overlay |
integer vector, the cluster overlay data: one integer per vertex of the left hemisphere. This assigns each vertex to a cluster, and all vertices of one cluster have the same number. Background is typically 1L. If a character string, the parameter will be interpreted as a file path and loaded with |
rh_overlay |
integer vector, just like |
lh_statmap |
double vector, the stats map. Typically a t-value map. Must have one value per vertex. If a character string, the parameter will be interpreted as file path and loaded with |
rh_statmap |
double vector, just like |
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. |
named list with entries 'overlay', 'statmap', and 'metadata': a clusterinfo data structure. Each of the 'overlay' and 'statmap' keys holds a hemilist
of numerical vectors.
clusterinfo_from_thresholded_overlay
If you do have a thresholded t-map instead of one t-map and one cluster overlay map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.