JonathanShor / DoubletDetection

Doublet detection in single-cell RNA-seq data.
https://doubletdetection.readthedocs.io/en/stable/
MIT License
87 stars 23 forks source link

Input types for count matrix #71

Closed adamgayoso closed 6 years ago

adamgayoso commented 6 years ago

We should at least accept:

For sparse matrices, we will probably just instantly make them dense.

JonathanShor commented 6 years ago

If it seems worthwhile to fully support sparse in and out, there are some options for getting "around" PCA densifying the matrix, such as a random subsample PCA. I'm not familiar with these approaches, so we'd have to look into them further.

JonathanShor commented 6 years ago

Likely use sklearn.utils.check_array.