Title: Added Support for Sparse Matrix Input in UMAP function in scROSHI
Description:
This pull request aims to add support for sparse matrices when using the uwot::umap function. The original implementation did not handle sparse matrices from SingleCellExperiment.
This in response to the error:
Error in uwot(X = X, n_neighbors = n_neighbors, n_components = n_components, :
Sparse matrices are only supported as distance matrices
Changes:
Converted sparse matrix to dense matrix before passing it to uwot::umap.
Title: Added Support for Sparse Matrix Input in UMAP function in scROSHI
Description: This pull request aims to add support for sparse matrices when using the
uwot::umap
function. The original implementation did not handle sparse matrices from SingleCellExperiment. This in response to the error:Changes:
uwot::umap
.Code: