Skip to content

Refactor connectivity computation into helper function #1

@valleyofdawn

Description

@valleyofdawn

Currently, FastTag relies on a connectivity matrix that is usually generated during the preprocessing pipeline.

To decouple FastTag from specific preprocessing workflows (e.g., scanpy pipelines), we should:

  • Move connectivity calculation (e.g., sc.pp.neighbors) to an optional helper function.
  • Have FastTag raise an error if .obsp['connectivities'] is missing.
  • Optionally provide a utility like prepare_adata_for_fasttag() for beginners.

This will improve modularity, portability, and reduce unnecessary dependencies.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions