Sim_CICA {CICA}R Documentation

Simulate CICA data

Description

Simulate CICA data

Usage

Sim_CICA(
  Nr,
  Q,
  R,
  voxels,
  timepoints,
  E,
  overlap = NULL,
  externalscore = FALSE
)

Arguments

Nr

number of subjects per cluster

Q

number of components

R

number of clusters

voxels

number of voxels

timepoints

number of time points

E

proportion of independent gaussian noise

overlap

amount of overlap between S across clusters. Smaller value means more overlap

externalscore

add simulated external score (default is FALSE)

Value

a list with simulated CICA data

Examples

## Not run: 

#Use set.seed(1) to obtain the dataset used in the article "Clusterwise
#Independent Component Analysis (CICA): an R package for clustering subjects
#based on ICA patterns underlying three-way (brain) data"

Xe <- Sim_CICA(Nr = 15, Q = 5, R = 4, voxels = 100, timepoints = 10,
E = 0.4, overlap = .25, externalscore = TRUE)

## End(Not run)


[Package CICA version 1.1.1 Index]