Skip to content

Add rest of Banksy notebook draft#992

Merged
sjspielman merged 4 commits intomasterfrom
sjspielman/979-banksy-draft-part2
May 7, 2026
Merged

Add rest of Banksy notebook draft#992
sjspielman merged 4 commits intomasterfrom
sjspielman/979-banksy-draft-part2

Conversation

@sjspielman
Copy link
Copy Markdown
Member

Closes #979
Stacked on #984

This PR adds the rest of the Banksy notebook, which is banksy with agf on, more cluster comparisons, and plotting collagen expression across clusters.
Here is the notebook: 02-spatial_clustering.nb.html

Feedback of all kinds welcome!

@sjspielman sjspielman changed the title add rest of banksy draft Add rest of Banksy notebook draft May 7, 2026
@sjspielman sjspielman requested a review from allyhawkins May 7, 2026 17:10
Copy link
Copy Markdown
Member

@allyhawkins allyhawkins left a comment

Choose a reason for hiding this comment

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

The code here all looks good to me. I had some very very minor comments but I'm on board with everything you are showing here, so I don't need to see this again.

Comment thread spatial/02-spatial_clustering.Rmd Outdated
Comment thread spatial/02-spatial_clustering.Rmd Outdated
Comment thread spatial/02-spatial_clustering.Rmd Outdated
\(x) x/sum(x)
)

pheatmap::pheatmap(clusters_tab)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have to say I didn't like the version in the outline and thought I was going to tell you to remove this, but I actually think this is much better and worth keeping in.
I do wish there was an easy way to add a column and row title to indicate which clusters are non-spatial vs banksy, but I don't think there is with pheatmap.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I do wish there was an easy way to add a column and row title to indicate which clusters are non-spatial vs banksy, but I don't think there is with pheatmap.

i really, really, really tried. but didnt manage it :/

6 being lowest expression makes sense given that it also corresponds, although less so, to non-spatial cluster 1.
We have therefore refined our non-spatial clusters with spatial information to give us clusters that consider spatial relationships as well.

Anything else you see to point out here?
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would keep this section very simple and surface level so what you have here seems good to me.

Base automatically changed from sjspielman/979-banksy-draft to master May 7, 2026 18:57
sjspielman and others added 3 commits May 7, 2026 15:03
@sjspielman
Copy link
Copy Markdown
Member Author

Again this notebook is passing CI but we're getting got by #991

@sjspielman sjspielman merged commit dab82d3 into master May 7, 2026
4 of 5 checks passed
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.

Draft spatial clustering notebook

2 participants