Skip to content

Conversation

brovolia
Copy link

#Summary
This PR introduces the Points2Regions module for spatial clustering and visualization of transcript data. It includes:

  • POINTS2REGIONS_CLUSTER: performs clustering using the Points2Regions model.
  • POINTS2REGIONS_PLOT: visualizes the spatial clusters using matplotlib.
    Parameterized smoothing and number of clusters.
    Python logic (cluster + plot) placed under modules/local/points2region/templates/

open questions

  • Should Python scripts live in bin/ instead of modules/local/.../templates/?
  • Should clustering and plotting be merged into a single process?

@heylf heylf mentioned this pull request Mar 24, 2025
@heylf heylf requested review from heylf and kubranarci March 25, 2025 09:54
@@ -0,0 +1,8 @@
FROM python:3.10-slim

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the docker used to generate container?

"""
}

process POINTS2REGIONS_PLOT {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should generate a second directory points2_regions/plot/main.nf and add this part there

@brovolia brovolia requested a review from khersameesh24 March 26, 2025 13:06
@khersameesh24 khersameesh24 added enhancement New feature or request prio3 labels May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants