This backbone can be adapted for arbitrary downstream tasks with ModelGenerator - please consult the documentation for more details.
Cell Type Classification
mgen fit --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
mgen test --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
Limitations
We only include scFoundation's encoder in ModelGenerator. The decoder is disabled.
Citation
@article{hao2024large,
title={Large-scale foundation model on single-cell transcriptomics},
author={Hao, Minsheng and Gong, Jing and Zeng, Xin and Liu, Chiming and Guo, Yucheng and Cheng, Xingyi and Wang, Taifeng and Ma, Jianzhu and Zhang, Xuegong and Song, Le},
journal={Nature methods},
volume={21},
number={8},
pages={1481--1491},
year={2024},
publisher={Nature Publishing Group US New York}
}