frankligy / scTriangulate

scTriangulate is a Python package to mix-and-match conflicting clustering results in single cell analysis and generate reconciled clustering solutions
MIT License
35 stars 4 forks source link

Potential bug, add to to-do list #1

Closed frankligy closed 3 years ago

frankligy commented 3 years ago

make sure whenever you subset an adata, always create a new copy, otherwise, the subset adata will just be a view, modify the subset adata will change the original as well. It seems doesn't affect current scTriangualte though, since no medications were made upon the subset adata

frankligy commented 3 years ago

Actually, it is not entirely true, I finally decided to not add a copy, for the sake of saving memory. But it is essential to remember that always be cautious when modify a subset AnnData