Helper function for running the decomposition. Use the run_tucker_ica() wrapper function instead.
tucker_ica_helper(
tensor_data,
ranks,
tucker_type,
rotation_type,
projection_container = NULL
)
The list of results for tucker decomposition with donor scores matrix in first element and loadings matrix in second element.
list The tensor data including donor, gene, and cell type labels as well as the tensor array itself
numeric The number of donor and gene factors respectively, to decompose to using Tucker decomposition.
character The 'regular' type is the only one currently implemented
character Set to 'hybrid' to optimize loadings via our hybrid method (see paper for details). Set to 'ica_dsc' to perform ICA rotation on resulting donor factor matrix. Set to 'ica_lds' to optimize loadings by the ICA rotation.
environment A project container to store projection data in. Currently only implemented for 'hybrid' and 'ica_dsc' rotations. (default=NULL)