simlr2.Rd
This function simplifies calculating image-wide multivariate beta maps from that is similar to CCA.
simlr2( voxmats, basisK, smoothingMatrixX, smoothingMatrixY, iterations = 10, gamma = 0.000001, sparsenessQuantileX = 0.5, sparsenessQuantileY = 0.5, positivityX = c("positive", "negative", "either"), positivityY = c("positive", "negative", "either"), initialUMatrix, orthogonalize = TRUE, repeatedMeasures = NA, verbose = FALSE )
voxmats | A list that contains the named x and y matrices. |
---|---|
basisK | an integer determining the size of the basis. |
smoothingMatrixX | allows parameter smoothing, should be square and same size as input matrix on left side of equation |
smoothingMatrixY | allows parameter smoothing, should be square and same size as input matrix on right side of equation |
iterations | number of gradient descent iterations |
gamma | step size for gradient descent |
sparsenessQuantileX | quantile to control sparseness - higher is sparser |
sparsenessQuantileY | quantile to control sparseness - higher is sparser |
positivityX | restrict to positive or negative solution (beta) weights. choices are positive, negative or either as expressed as a string. |
positivityY | restrict to positive or negative solution (beta) weights. choices are positive, negative or either as expressed as a string. |
initialUMatrix | initialization matrix size |
orthogonalize | boolean to control whether we orthogonalize the solutions explicitly |
repeatedMeasures | list of repeated measurement identifiers. this will allow estimates of per identifier intercept. |
verbose | boolean to control verbosity of output |
A list of u, x and y-related matrices.
BB Avants.