Shows statistical map based on selected predictors of a GLM superimposed on (anatomical) reference images.
objDocument.ShowGLM()
Valid only if objDocument is of type FMR or VMR. After performing or loading a GLM file, predictors can be selected and then shown as statistical maps on reference images of an FMR or VMR project. To select predictors, use one of the following methods: SelectAllPredictors, SelectPredictorInSet1, SelectPredictorInSet2. You can also deselect all currently selected predictors by using the DeselectAllPredictors method. To show a contrast between two predictor sets, select the desired predictors in set 1 and set 2 and make sure to call DisableTwoSetPredictorColours prior to the ShowGLM method. If you want to visualize the relative contribution of explained variance between two predictor sets, call EnableTwoSetPredictorColours prior to the ShowGLM method.
' VBScript
Set doc = BrainVoyager.OpenDocument("cg_3DT1_TAL.vmr")
doc.LoadGLM "cg_objects.glm"
doc.SelectAllPredictors
doc.ShowGLM
// JScript
doc = BrainVoyager.OpenDocument("cg_objects.fmr");
doc.LoadGLM("cg_objects.glm");
doc.SelectAllPredictors();
doc.ShowGLM();
# PerlScript
$doc = $BrainVoyager->OpenDocument("cg_objects.fmr");
$doc->LoadGLM("cg_objects.glm");
$doc->SelectAllPredictors();
$doc->ShowGLM();