GPASub: ProMises model with known reference matrix

View source: R/GPASub.R

GPASubR Documentation

ProMises model with known reference matrix

Description

Perform functional alignment of a matrix by von Mises Fisher Procrustes model with known reference matrix.

Usage

GPASub(
  X,
  Q = NULL,
  k,
  ref_ds,
  scaling = TRUE,
  reflection = TRUE,
  centered = TRUE
)

Arguments

X

data, i.e., matrix with dimension time points - voxels.

Q

value of the location parameter of the prior distribution. It has dimension voxels x voxels, it could be not symmetric.

k

value of the concentration parameter of the prior distribution of the rotation parameter.

ref_ds

reference matrix to align.

scaling

Flag to apply scaling transformation.

reflection

Flag to apply reflection transformation.

centered

centered data?

Value

GPASub returns a list with two components:

Xest

the aligned matrix

R

the rotation matrix

Author(s)

Angela Andreella and Daniela Corbetta


angeella/vMFPmodelR documentation built on March 9, 2024, 4:51 a.m.