ComputeMM_WB: ComputeMM_WB - calculate the maximum cluster extent from a...

Description Usage Arguments Examples

View source: R/ComputeMM_WB.R

Description

This function wraps many of the other functions to perform cluster detection analysis using the wild bootstrap.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ComputeMM_WB(
  x,
  resid_map,
  fit_map,
  type,
  external_df,
  notation,
  family_dist,
  structtype,
  thresh,
  structfile,
  matlab_path,
  surf_command,
  corstr,
  wave,
  zcor,
  correctiontype,
  id_subjects,
  cifti_dim,
  nmeas,
  seeds,
  fastSwE,
  adjustment,
  enrichment_path = NULL,
  modules = NULL,
  cifti_firstsub = NULL,
  output_directory = NULL
)

Arguments

resid_map

The residual map from the geeglm analysis

fit_map

The fitted values map from the geeglm analysis

type

A character string denoting the distribution to use for the wild bootstrap

external_df

A data frame comprising non-brain measures to model.

notation

A character string representing the model formula. Uses Wilkinson notation.

family_dist

A character string denoting the assumed underlying distribution of all input data

structtype

A character string denoting whether the map is volumetric ('volume') or surface-based

matlab_path

A character string denoting the path to the matlab compiler. Please use v91.

surf_command

A character string denoting the path to the SurfConnectivity command.

correctiontype

A character string denoting cluster ('cluster') or point ('point') comparisons

cifti_map

surface array or nifti containing the scalar values – just used to determine the number of participants

zscore_map

The z-scored map from the geeglm analysis

Examples

1
2
max_cc <- ComputeMM_WB(cifti_map,zscore_map,resid_map,fit_map,type,external_df,
notation,family_dist,structtype,thresh,structfile,matlab_path,surf_command,correctiontype)

DCAN-Labs/MarginalModelCIFTI documentation built on Nov. 30, 2021, 3:40 p.m.