get_reconstruct_errors_svd {scITD} | R Documentation |
Calculate reconstruction errors using svd approach
Description
Calculate reconstruction errors using svd approach
Usage
get_reconstruct_errors_svd(tnsr, max_ranks_test, shuffle_tensor)
Arguments
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 |
Value
A list of reconstruction errors for each mode of the tensor.
[Package scITD version 1.0.4 Index]