theislab / scgen

Single cell perturbation prediction
https://scgen.readthedocs.io
GNU General Public License v3.0
260 stars 52 forks source link

stop batch correction cell index scrambling, and retain raw if present #17

Closed ktpolanski closed 4 years ago

ktpolanski commented 4 years ago

added index_unique=None to concatenation, sorted corrected on adata.obs_names and copy over .raw from the original object if it's not empty.