-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description of feature
Małgorzata Łazęcka has recently presented a FACTM model: https://github.com/szczurek-lab/FACTM/tree/main . While conceptually similar to MOFA, it contains a rotation method for latent factors. Combining it with filtering out batch effect-related factors (see #102) could provide good sample representations. Would be great to see this method in patpy
How to contribute
- Fork the repository
- Implement a new class for FACTM in https://github.com/lueckenlab/patpy/blob/main/src/patpy/tl/sample_representation.py
- It must be inheritor of the
SampleRepresentationMethod
class - Take a look at pseudobulk for a basic example or at MOFA for a more comprehensive example
- The class must contain 3 methods:
__init__()
to set it upprepare_anndata()
, with setting up the data and the modelcalculate_distance_matrix()
, which outputs a distance matrix between samples
- Open a pull request to merge the code to main
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request