scverse / scverse/squidpy

Squidpy comparative statistics

Open
#645 1 comment 0 reactions 1 assignee View on GitHub

@giovp is already working on this.

Since Feb 17, 2023.

diff analysis :bar_chart: graph :spider_web:
Dominant language
Python
Stars
598
Forks
121
Avg merge
3d 11h
Merged PRs (30d)
3

Description

We’re looking to use squidpy to generate comparative spatial statistics across multiple samples.
I see we can supply the sample key by library_key in squidpy.gr.spatial_neighbors so that the spatial graph is generated for each sample independently, but how does one then use squidpy.gr.nhood_enrichment, sq.gr.interaction_matrix, sq.gr.centrality_scores functions to generate ‘per sample’ statistics to compare between samples.

the adata.uns output from the ```.gr.` functions returns arrays - how does one access the column/row names for these arrays?

thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.