View source: R/run_tucker_ica.R
pca_unfolded | R Documentation |
Computes singular-value decomposition on the tensor unfolded along the donor dimension
pca_unfolded(container, ranks)
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. |
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.
test_container <- pca_unfolded(test_container, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.