Hi
I'm encountering an error while using the LinkPeaks function in the Signac package. The warning message is as follows:
Error: (converted from warning) 'as(<dgCMatrix>, "dgTMatrix")' is deprecated. Use 'as(., "TsparseMatrix")' instead. See help("Deprecated") and help("Matrix-deprecated").
This issue seems to be related to the internal conversion of sparse matrices in the Matrix package, as dgTMatrix is now deprecated and is advised to be replaced with TsparseMatrix.
After reviewing the LinkPeaks code, I suspect the issue may arise during the construction of sparse matrices with sparseMatrix or potentially in the correlation methods (corSparse or SparseSpearmanCor)?
Hi I'm encountering an error while using the LinkPeaks function in the Signac package. The warning message is as follows:
Error: (converted from warning) 'as(<dgCMatrix>, "dgTMatrix")' is deprecated. Use 'as(., "TsparseMatrix")' instead. See help("Deprecated") and help("Matrix-deprecated").
This issue seems to be related to the internal conversion of sparse matrices in the Matrix package, as dgTMatrix is now deprecated and is advised to be replaced with TsparseMatrix.After reviewing the LinkPeaks code, I suspect the issue may arise during the construction of sparse matrices with sparseMatrix or potentially in the correlation methods (corSparse or SparseSpearmanCor)?
Session: