Closed Jieran-S closed 9 months ago
It seems that it currently can't handle sparse matrices as input.
The corresponding code does not transform the data from sparse to dense format but rather generates an invalid array.
Methods runnable after adding scanpy scaling function sc.pp.scale(adata)
(Data transformed into dense matrix format automatically). Will close this issue now.
https://github.com/SpatialHackathon/SpaceHack2023/blob/2e81727c99ddd5171d403915834d1474820384d2/method/SCAN-IT/method_scanit.py#L133-L138
SCAN-IT optargs:
https://github.com/SpatialHackathon/SpaceHack2023/blob/2e81727c99ddd5171d403915834d1474820384d2/method/SCAN-IT/scanit_optargs.json#L1-L7
Checking its source code here.
Also, in their github they always do a preprocessing to select spatial variable genes. I'm not fully understanding what's happening here. Do we need additional preprocessing besides the current implementation?
sv-gene-selection: https://github.com/zcang/SCAN-IT/blob/main/examples/seqFISH-mouse-SScortex/somde_preprocess.py their paper: https://www.bmvc2021-virtualconference.com/assets/papers/1139.pdf