pca_unfolded: Computes singular-value decomposition on the tensor unfolded along the donor dimension
Description
Computes singular-value decomposition on the tensor unfolded along the donor dimension
Usage
pca_unfolded(container, ranks)
Value
The project container with results of the decomposition in container$tucker_results.
The results object is a list with the donor scores matrix in the first element and the unfolded
loadings matrix in the second element.
Arguments
container
environment Project container that stores sub-containers
for each cell type as well as results and plots from all analyses
ranks
numeric The number of factors to extract. Unlike with the Tucker
decomposition, this should be a single number.