API#
Trainer#
Entry points for implementations of scFMs via Heimdall.
|
\(F_\textbf{G}\)#
Implementations of gene identity encodings.
|
Abstraction of the gene embedding mapping paradigm. |
|
Identity mapping of gene names to embeddings. |
|
Abstraction for pretrained `Fg`s that can be loaded from disk. |
|
Mapping of gene names to pretrained embeddings stored as PyTorch tensors. |
|
Mapping of gene names to pretrained Gene2Vec embeddings. |
\(F_\textbf{E}\)#
Implementations of gene expression encodings.
|
Abstraction for expression-based embedding. |
|
Directly pass the continuous values. |
|
|
|
Value-binning Fe from scGPT. |
|
scBERT-style binning: cap expression values and convert to long indices. |
\(F_\textbf{C}\)#
Implementations of single-cell representations.
|
Abstraction for cell embedding. |
|
|
|
\(\rm{O\small{RDER}}\)#
Implementations of ordering function for producing an order for gene tokens.
|
|
\(\rm{S\small{EQUENCE}}\)#
Implementations of sequence function for producing sequence of gene + cell metadata tokens.
|
|
|
|
|
|
Chromosome grouping without any resampling. |
\(\rm{R\small{EDUCE}}\)#
Implementations of reduction operations for combining gene identity and expression encodings.
Task#
Definition of pretraining and downstream tasks for single-cell foundation models.
|
Heimdall task key-value store. |
|
|
|
|
|
|
|
Container for multiple Heimdall tasks. |
Model#
Entry points for implementations of scFMs via Heimdall.
|