Loads a file containg the results of a multiple regression (GLM) analysis.
objDocument.LoadGLM(strGLMFileName)
Valid only if objDocument is of type FMR or VMR. If it is of type VMR, all three dimensions currently must be 256. The specified GLM file strGLMFileName is loaded into memory and can be shown superimposed on anatomical images by selecting predictors (i.e. using the SelectAllPredictors method) and then calling the ShowGLM method. During loading of the GLM, BrainVoyager also tries to find all VTC files referenced by the GLM file.
' 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();