spatial_effects_cifti_sub: Generate spatial effects over areas for a cifti with...

View source: R/simulate_cifti.R

spatial_effects_cifti_subR Documentation

Generate spatial effects over areas for a cifti with subcortical data

Description

Generate spatial effects over areas for a cifti with subcortical data

Usage

spatial_effects_cifti_sub(
  cifti_obj,
  centers_lambda,
  smooth_FWHM,
  max_amplitude,
  n_tasks,
  n_subjects = 1,
  n_sessions = 1,
  n_runs = 1,
  subjects_var = 4,
  sessions_var = 2,
  runs_var = 1
)

Arguments

cifti_obj

a xifti object

centers_lambda

the parameter controlling how many centers the activations will have

smooth_FWHM

The full-width half-maximum smoothing value, in mm

max_amplitude

The maximum value taken by the spatial effect

n_tasks

The number of tasks to generate

n_subjects

The number of subjects for which to generate data

n_sessions

The number of sessions per subject to generate

n_runs

The number of runs per session to generate

subjects_var

The amount of average variance in coefficient location from subject to subject

sessions_var

The amount of average variance in coefficient location from session to session within subject

runs_var

The amount of average variance in coefficient location from run to run within session

Value

a list of xifti objects nested by subject, session, and run


danieladamspencer/brainSim documentation built on April 14, 2022, 3:15 p.m.