-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
FastTag currently performs annotation at the single-cell level. For large datasets or early-stage exploration, it would be useful to support an optional cluster-based mode.
This feature would:
- Compute marker-based scores on cluster averages rather than individual cells.
- Assign labels to clusters and propagate to all member cells.
- Greatly improve performance on large datasets.
- Increase interpretability by labeling major cell groups.
Proposed interface:
python
Copy
Edit
fasttag(
adata,
marker_dict,
cluster_mode=True,
cluster_key='leiden', # or any other .obs key
...
)
Considerations:
- Scores will be based on mean expression within each cluster.
- Smoothing or voting steps may need to be disabled or adapted in this mode.
- Include safeguards/warnings for low-resolution or mixed clusters.
- This should be optional, preserving default per-cell behavior.
Reactions are currently unavailable