DelayedTensor 1.0.0
Authors: Koki Tsuyuzaki [aut, cre]
Last modified: 2021-10-26 15:33:21
Compiled: Tue Oct 26 17:15:53 2021
suppressPackageStartupMessages(library("DelayedTensor"))
suppressPackageStartupMessages(library("DelayedArray"))
suppressPackageStartupMessages(library("HDF5Array"))
suppressPackageStartupMessages(library("DelayedRandomArray"))
darr <- RandomUnifArray(c(3,4,5))
setVerbose(FALSE)
setSparse(FALSE)
setAutoBlockSize(1E+8)
## automatic block size set to 1e+08 bytes (was 1e+08)
tmpdir <- tempdir()
setHDF5DumpDir(tmpdir)
Tensor decomposition models decompose multiple factor matrices and core tensor. Each factor matrix means the patterns of each mode and is used for the visualization and the downstream analysis. Core tensor means the intensity of the patterns and is used to decide which patterns are informative.
We reimplemented some of the tensor decomposition functions of rTensor using block processing of DelayedArray.
Only tensor decomposition algorithms and utility functions that require
Fast Fourier Transform (e.g., t_mult
, t_svd
, and t_svd_reconstruct
)
are exceptions and have not yet been implemented in DelayedArray
because we are still investigating how to calculate them with
out-of-core manner.
Suppose a tensor \(\mathcal{X} \in \Re^{I \times J \times K}\). Tucker decomposition models decomposes a tensor \(\mathcal{X}\) into a core tensor \(\mathcal{G} \in \Re^{p \times q \times r}\), and multiple factor matrices \(A \in \Re^{I \times p}\), \(B \in \Re^{J \times q}\), and \(C \in \Re^{K \times r}\) (\(p \leq I, q \leq J, \textrm{and}\ r \leq K\)).
\[ \mathcal{X} = \mathcal{G} \times_{1} A \times_{2} B \times_{3} C \]
For simplicity, here we will use a third-order tensor but the Tucker decomposition can be applied to tensors of larger orders.
There are well-known two algorithms; Higher-Order Singular Value Decomposition (HOSVD) and Higher-order Orthogonal Iteration (HOOI).
hosvd
performs the HOSVD Tucker decomposition
and tucker
performs HOOI Tucker decomposition.
For the details, check the hosvd
and tucker
functions of
rTensor.
out_hosvd <- hosvd(darr, ranks=c(2,1,3))
##
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
str(out_hosvd)
## List of 4
## $ Z :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto00125.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO00125"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 2 1 3
## .. .. .. ..@ chunkdim : int [1:3] 2 1 3
## .. .. .. ..@ first_val: num -4.07
## $ U :List of 3
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:3, 1:2] -0.5685 -0.6273 -0.5323 0.6344 0.0777 ...
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:4, 1] -0.466 -0.612 -0.381 -0.513
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:5, 1:3] -0.557 -0.421 -0.342 -0.446 -0.443 ...
## $ est :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto00142.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO00142"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 3 4 5
## .. .. .. ..@ chunkdim : int [1:3] 3 4 5
## .. .. .. ..@ first_val: num 0.685
## $ fnorm_resid: num 1.84
out_tucker <- tucker(darr, ranks=c(2,3,2))
##
|
| | 0%
|
|=== | 4%
|
|====== | 8%
|
|======== | 12%
|
|======================================================================| 100%
str(out_tucker)
## List of 7
## $ Z :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto00320.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO00320"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 2 3 2
## .. .. .. ..@ chunkdim : int [1:3] 2 3 2
## .. .. .. ..@ first_val: num -4.07
## $ U :List of 3
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:3, 1:2] -0.559 -0.639 -0.528 0.581 0.152 ...
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:4, 1:3] -0.455 -0.624 -0.376 -0.513 0.274 ...
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:5, 1:2] -0.557 -0.42 -0.342 -0.447 -0.443 ...
## $ conv : logi TRUE
## $ est :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto00354.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO00354"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 3 4 5
## .. .. .. ..@ chunkdim : int [1:3] 3 4 5
## .. .. .. ..@ first_val: num 0.661
## $ norm_percent: num 68.6
## $ fnorm_resid : num 1.42
## $ all_resids : num [1:3] 1.43 1.42 1.42
Suppose a tensor \(\mathcal{X} \in \Re^{I \times J \times K}\). CP decomposition models decomposes a tensor \(X\) into a core diagonal tensor \(\mathcal{G} \in \Re^{r \times r \times r}\), and multiple factor matrices \(A \in \Re^{I \times r}\), \(B \in \Re^{J \times r}\), and \(C \in \Re^{K \times r}\) (\(r \leq \min{\left(I,J,K\right)}\)).
\[ \mathcal{X} = \mathcal{G} \times_{1} A \times_{2} B \times_{3} C \]
For simplicity, here we will use a third-order tensor but the CP decomposition can be applied to tensors of larger orders.
Alternating least squares (ALS) is a well-known algorithm for CP decomposition
and cp
performs the ALS CP decomposition.
For the details, check the cp
function of rTensor.
out_cp <- cp(darr, num_components=2)
##
|
| | 0%
|
|=== | 4%
|
|====== | 8%
|
|======== | 12%
|
|=========== | 16%
|
|============== | 20%
|
|================= | 24%
|
|==================== | 28%
|
|====================== | 32%
|
|========================= | 36%
|
|============================ | 40%
|
|=============================== | 44%
|
|================================== | 48%
|
|==================================== | 52%
|
|======================================= | 56%
|
|========================================== | 60%
|
|============================================= | 64%
|
|================================================ | 68%
|
|================================================== | 72%
|
|===================================================== | 76%
|
|======================================================== | 80%
|
|=========================================================== | 84%
|
|============================================================== | 88%
|
|================================================================ | 92%
|
|=================================================================== | 96%
|
|======================================================================| 100%
str(out_cp)
## List of 7
## $ lambdas : num [1:2] 32.7 7.5
## $ U :List of 3
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. ..@ seed:Formal class 'DelayedUnaryIsoOpWithArgs' [package "DelayedArray"] with 6 slots
## .. .. .. .. .. .. ..@ OP :function (e1, e2)
## .. .. .. .. .. .. ..@ Largs : list()
## .. .. .. .. .. .. ..@ Rargs :List of 1
## .. .. .. .. .. .. .. ..$ : num [1:2] 32.54 7.47
## .. .. .. .. .. .. ..@ Lalong: int(0)
## .. .. .. .. .. .. ..@ Ralong: int 1
## .. .. .. .. .. .. ..@ seed :Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. .. .. .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. .. .. .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto01953.h5"
## .. .. .. .. .. .. .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO01953"
## .. .. .. .. .. .. .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. .. .. .. .. .. .. ..@ type : chr NA
## .. .. .. .. .. .. .. .. .. .. ..@ dim : int [1:2] 3 2
## .. .. .. .. .. .. .. .. .. .. ..@ chunkdim : int [1:2] 3 2
## .. .. .. .. .. .. .. .. .. .. ..@ first_val: num 9.97
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. ..@ seed:Formal class 'DelayedUnaryIsoOpWithArgs' [package "DelayedArray"] with 6 slots
## .. .. .. .. .. .. ..@ OP :function (e1, e2)
## .. .. .. .. .. .. ..@ Largs : list()
## .. .. .. .. .. .. ..@ Rargs :List of 1
## .. .. .. .. .. .. .. ..$ : num [1:2] 32.63 7.42
## .. .. .. .. .. .. ..@ Lalong: int(0)
## .. .. .. .. .. .. ..@ Ralong: int 1
## .. .. .. .. .. .. ..@ seed :Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. .. .. .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. .. .. .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto01976.h5"
## .. .. .. .. .. .. .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO01976"
## .. .. .. .. .. .. .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. .. .. .. .. .. .. ..@ type : chr NA
## .. .. .. .. .. .. .. .. .. .. ..@ dim : int [1:2] 4 2
## .. .. .. .. .. .. .. .. .. .. ..@ chunkdim : int [1:2] 4 2
## .. .. .. .. .. .. .. .. .. .. ..@ first_val: num 7.24
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. ..@ seed:Formal class 'DelayedUnaryIsoOpWithArgs' [package "DelayedArray"] with 6 slots
## .. .. .. .. .. .. ..@ OP :function (e1, e2)
## .. .. .. .. .. .. ..@ Largs : list()
## .. .. .. .. .. .. ..@ Rargs :List of 1
## .. .. .. .. .. .. .. ..$ : num [1:2] 32.7 7.5
## .. .. .. .. .. .. ..@ Lalong: int(0)
## .. .. .. .. .. .. ..@ Ralong: int 1
## .. .. .. .. .. .. ..@ seed :Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. .. .. .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. .. .. .. .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. .. .. .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto01999.h5"
## .. .. .. .. .. .. .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO01999"
## .. .. .. .. .. .. .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. .. .. .. .. .. .. ..@ type : chr NA
## .. .. .. .. .. .. .. .. .. .. ..@ dim : int [1:2] 5 2
## .. .. .. .. .. .. .. .. .. .. ..@ chunkdim : int [1:2] 5 2
## .. .. .. .. .. .. .. .. .. .. ..@ first_val: num 8.13
## $ conv : logi FALSE
## $ est :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02016.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO02016"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 3 4 5
## .. .. .. ..@ chunkdim : int [1:3] 3 4 5
## .. .. .. ..@ first_val: num 0.552
## $ norm_percent: num 65.3
## $ fnorm_resid : num 1.57
## $ all_resids : num [1:24] 2.71 1.84 1.81 1.79 1.78 ...
MPCA is a kind of Tucker decomposition and when the order of tensor is 3,
this is also known as the
Generalized Low-Rank Approximation of Matrices (GLRAM).
For the details, check the mpca
function of rTensor.
out_mpca <- mpca(darr, ranks=c(2,2))
##
|
| | 0%
|
|=== | 4%
|
|====== | 8%
|
|======== | 12%
|
|======================================================================| 100%
str(out_mpca)
## List of 7
## $ Z_ext :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02118.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO02118"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 2 2 5
## .. .. .. ..@ chunkdim : int [1:3] 2 2 5
## .. .. .. ..@ first_val: num 2.28
## $ U :List of 3
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:3, 1:2] -0.5619 -0.6421 -0.5215 0.6177 0.0937 ...
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed: num [1:4, 1:2] -0.463 -0.619 -0.379 -0.508 0.362 ...
## ..$ : NULL
## $ conv : logi TRUE
## $ est :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02140.h5"
## .. .. .. ..@ name : chr "/HDF5ArrayAUTO02140"
## .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. ..@ type : chr NA
## .. .. .. ..@ dim : int [1:3] 3 4 5
## .. .. .. ..@ chunkdim : int [1:3] 3 4 5
## .. .. .. ..@ first_val: num 0.658
## $ norm_percent: num 68.2
## $ fnorm_resid : num 1.44
## $ all_resids : num [1:3] 1.44 1.44 1.44
Suppose a series of 2D data X_{j}, where \(X_{j} \in \Re^{n_{1} \times n_{2}}\), and \(j = 1, \ldots , n_{3}\). PVD models decomposes a tensor \(X_{j}\) into two common factor matrices across all \(X_{j}\), \(P \in \Re^{n_{1} \times r_{1}}\) and \(D \in \Re^{n_{2} \times r_{2}}\), and a \(X_{j}\) specific factor matrix \(V_{j} \in \Re^{r_{1} \times r_{2}}\) (\(r_{1} \leq n_{1}, \textrm{and}\ r_{2} \leq n_{2}\)).
\[ X_{j} = P \times V_{j} \times D \]
For the details, check the pvd
function of rTensor.
out_pvd <- pvd(darr,
uranks=rep(2,dim(darr)[3]), wranks=rep(3,dim(darr)[3]), a=2, b=3)
##
|
| | 0%
|
|========= | 12%
|
|================== | 25%
|
|========================== | 38%
|
|=================================== | 50%
|
|============================================ | 62%
|
|==================================================== | 75%
|
|============================================================= | 88%
|
|======================================================================| 100%
str(out_pvd)
## List of 6
## $ P :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. ..@ seed: num [1:3, 1:2] -0.62392 -0.65912 -0.41986 0.55954 -0.00171 ...
## $ D :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. ..@ seed:Formal class 'DelayedAperm' [package "DelayedArray"] with 2 slots
## .. .. .. ..@ perm: int [1:2] 2 1
## .. .. .. ..@ seed: num [1:4, 1:3] -0.6 -0.435 -0.216 -0.636 0.145 ...
## $ V :List of 5
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02174.h5"
## .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO02174"
## .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. ..@ type : chr NA
## .. .. .. .. ..@ dim : int [1:2] 2 3
## .. .. .. .. ..@ chunkdim : int [1:2] 2 3
## .. .. .. .. ..@ first_val: num 2.3
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02180.h5"
## .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO02180"
## .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. ..@ type : chr NA
## .. .. .. .. ..@ dim : int [1:2] 2 3
## .. .. .. .. ..@ chunkdim : int [1:2] 2 3
## .. .. .. .. ..@ first_val: num 1.42
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02186.h5"
## .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO02186"
## .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. ..@ type : chr NA
## .. .. .. .. ..@ dim : int [1:2] 2 3
## .. .. .. .. ..@ chunkdim : int [1:2] 2 3
## .. .. .. .. ..@ first_val: num 1.36
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02192.h5"
## .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO02192"
## .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. ..@ type : chr NA
## .. .. .. .. ..@ dim : int [1:2] 2 3
## .. .. .. .. ..@ chunkdim : int [1:2] 2 3
## .. .. .. .. ..@ first_val: num 1.66
## ..$ :Formal class 'DelayedMatrix' [package "DelayedArray"] with 1 slot
## .. .. ..@ seed:Formal class 'HDF5ArraySeed' [package "HDF5Array"] with 7 slots
## .. .. .. .. ..@ filepath : chr "/tmp/RtmpTsz5op/auto02198.h5"
## .. .. .. .. ..@ name : chr "/HDF5ArrayAUTO02198"
## .. .. .. .. ..@ as_sparse: logi FALSE
## .. .. .. .. ..@ type : chr NA
## .. .. .. .. ..@ dim : int [1:2] 2 3
## .. .. .. .. ..@ chunkdim : int [1:2] 2 3
## .. .. .. .. ..@ first_val: num 1.75
## $ est :Formal class 'DelayedArray' [package "DelayedArray"] with 1 slot
## .. ..@ seed: num [1:3, 1:4, 1:5] 0.761 0.847 0.599 0.962 0.754 ...
## $ norm_percent: num 71.7
## $ fnorm_resid : num 1.28
## R version 4.1.1 (2021-08-10)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.3 LTS
##
## Matrix products: default
## BLAS: /home/biocbuild/bbs-3.14-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.14-bioc/R/lib/libRlapack.so
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_GB LC_COLLATE=C
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] stats4 stats graphics grDevices utils datasets methods
## [8] base
##
## other attached packages:
## [1] DelayedRandomArray_1.2.0 HDF5Array_1.22.0 rhdf5_2.38.0
## [4] DelayedArray_0.20.0 IRanges_2.28.0 S4Vectors_0.32.0
## [7] MatrixGenerics_1.6.0 matrixStats_0.61.0 BiocGenerics_0.40.0
## [10] Matrix_1.3-4 DelayedTensor_1.0.0 BiocStyle_2.22.0
##
## loaded via a namespace (and not attached):
## [1] Rcpp_1.0.7 rTensor_1.4.8 bslib_0.3.1
## [4] compiler_4.1.1 BiocManager_1.30.16 jquerylib_0.1.4
## [7] rhdf5filters_1.6.0 tools_4.1.1 digest_0.6.28
## [10] jsonlite_1.7.2 evaluate_0.14 lattice_0.20-45
## [13] rlang_0.4.12 parallel_4.1.1 yaml_2.2.1
## [16] xfun_0.27 fastmap_1.1.0 stringr_1.4.0
## [19] knitr_1.36 sass_0.4.0 grid_4.1.1
## [22] R6_2.5.1 BiocParallel_1.28.0 rmarkdown_2.11
## [25] bookdown_0.24 irlba_2.3.3 Rhdf5lib_1.16.0
## [28] magrittr_2.0.1 BiocSingular_1.10.0 htmltools_0.5.2
## [31] rsvd_1.0.5 beachmat_2.10.0 dqrng_0.3.0
## [34] ScaledMatrix_1.2.0 stringi_1.7.5 einsum_0.1.0