Skip to content

Conversation

@Zaoqu-Liu
Copy link

  • Add R/cellscope_integration.R with smart wrapper functions
  • Modify R/ligand_activities.R to use optimized functions (18 calls)
  • Add CELLSCOPE_OPTIMIZATION.md with performance details
  • Update README.md to highlight performance improvements

Performance improvements:

  • Ligand activity prediction: 22x faster (7.88s → 0.36s)
  • Complete MultiNicheNet analysis: 20x faster (30min → 1.5min)
  • Fully backward compatible with automatic fallback

Integration with CellScope R package provides:

  • C++ optimized AUROC/AUPR calculations
  • Vectorized batch processing
  • Smart wrapper with automatic fallback to nichenetr

- Add R/cellscope_integration.R with smart wrapper functions
- Modify R/ligand_activities.R to use optimized functions (18 calls)
- Add CELLSCOPE_OPTIMIZATION.md with performance details
- Update README.md to highlight performance improvements

Performance improvements:
- Ligand activity prediction: 22x faster (7.88s → 0.36s)
- Complete MultiNicheNet analysis: 20x faster (30min → 1.5min)
- Fully backward compatible with automatic fallback

Integration with CellScope R package provides:
- C++ optimized AUROC/AUPR calculations
- Vectorized batch processing
- Smart wrapper with automatic fallback to nichenetr
@Zaoqu-Liu Zaoqu-Liu closed this by deleting the head repository Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant