Thank you for providing such a valuable package.
I am eager to utilize it with my own data, but I am encountering an error when executing 'fit_gsfa_multivar'. I suspect that the large number of cells in my dataset might be causing the issue.
Here are the specifics:
$ dim(scaled.gene_exp)
[1] 93281 13025
$ dim(G_mat)
[1] 93281 109
$ iter_num
[1] 20
$ fit0 <- fit_gsfa_multivar(Y = scaled.gene_exp, G = G_mat,
K = 50, init.method = "svd",
prior_w_s = 50, prior_w_r = 0.2,
prior_beta_s = 20, prior_beta_r = 0.2,
niter = iter_num, used_niter = iter_num/2,
verbose = T, return_samples = T)
Initializing Z and W with SVD.
Error: Mat::init(): requested size is too large; suggest to enable ARMA_64BIT_WORD
I understand from the error that due to the large number of cells, a 32-bit representation might not suffice, and a 64-bit representation is required. I am currently analyzing the data without limiting it to highly variable genes and excluding only low-expressed genes. However, even when I limit the number of genes, I encounter the same error, leading me to believe this isn't the core issue.
Believing that the lack of support for ARMA_64BIT_WORD might be the problem, I tried:
・Modifying the compile options of Armadillo to enable ARMA_64BIT_WORD.
・Modifying the compile options of RcppArmadillo to enable ARMA_64BIT_WORD.
Despite these changes and reinstalling GSFA, I still face the same error. Would you happen to have any suggestions or solutions to this problem? I understand you might be busy, but any guidance would be greatly appreciated.
Thank you in advance.