View source: R/determine_ranks_tucker.R
get_reconstruct_errors_svd | R Documentation |
Calculate reconstruction errors using svd approach
get_reconstruct_errors_svd(tnsr, max_ranks_test, shuffle_tensor)
tnsr |
array A 3-dimensional array with dimensions of donors, genes, and cell types in that order |
max_ranks_test |
numeric Vector of length 3 with maximum number of ranks to test for donor, gene, and cell type modes in that order |
shuffle_tensor |
logical Set to TRUE to shuffle values within the tensor |
A list of reconstruction errors for each mode of the tensor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.