This function applies principal component analysis (PCA) to each matrix in a list of voxel matrices and returns a list of projection matrices (principal axes).

antsr_pca_features(data_matrices, k)

Arguments

data_matrices

A list of numeric matrices. Each matrix should have dimensions (subjects by voxels).

k

Integer. Number of principal components to retain.

Value

A named list of projection matrices (voxels by k), one per input matrix.