MapClusterSize Property


Description

Gets or sets the statistical threshold used in subsequent commands visualizing statistical maps.

Syntax

objDocument.MapClusterSize()

Remarks

Valid only if objDocument is of type FMR or VMR. The property sets or retrieves the cluster size used by objDocument to filter out all activated clusters which do not reach the statistical threshold when a map is visualized, i.e. by calling ShowGLM. The statistical threshold can be modified or inspected using the MapThreshold property.

Example

' VBScript
doc.
LoadGLM "cg_objects.glm"
doc.
SelectAllPredictors
doc.
ShowGLM
doc.
MapClusterSize = 200
For
thresh = 0.2 To 0.6 Step 0.05

  doc.MapThreshold = thresh

  doc.RefreshView

Next

// JScript
doc.
LoadGLM("cg_objects.glm");
doc.
SelectAllPredictors();
doc.
ShowGLM();
doc.
MapClusterSize = 200;
for
(thresh = 0.2; thresh<=0.6; thresh += 0.05)

{

  doc.MapThreshold = thresh;

  doc.RefreshView();

}

# PerlScript
$doc->
LoadGLM("cg_objects.glm");
$doc->
SelectAllPredictors();
$doc->
ShowGLM();
$doc
->MapClusterSize = 200;
for
($thresh = 0.2; $thresh<=0.6; $thresh += 0.05)

{

  $doc->MapThreshold = thresh;

  $doc->RefreshView();

}