This is a Region2Vec model trained for cross-modal retrieval of of genomic region set
The Luecken2021 dataset is trained on the accessibility profile of bone-marrow cells. Bone marrow is the site of several stages of erythrocyte differentiation and B cell maturation. Reads from the these experiments were aligned to hg38, as such, one should only use this model with other data aligned to hg38.
If finetuning on your own data, we recommend 100 epochs. You might be able to get away with less, however.
You can use the gitk python library to download this model and start encoding your single-cell data:
1import scanpy as sc
2from gitk.scembed import ScEmbed
3
4adata = sc.read_h5af("path/to/adata.h5ad")
5
6model = ScEmbed("databio/r2v-pbmc-hg38-small")
7embeddings = model.encode(adata)