Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting only zeros at enrichment step #99

Closed
archanabhardwaj opened this issue Jul 5, 2022 · 1 comment
Closed

getting only zeros at enrichment step #99

archanabhardwaj opened this issue Jul 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@archanabhardwaj
Copy link

archanabhardwaj commented Jul 5, 2022

Describe the bug
Hello
I am working with 10X visum spatial transcriptome data.
From cell2location, estimated cell-type specific expression of every gene in the spatial data and did the clustering. Now, I am running NCEM for cell-types integration (or cluster specific interaction). At enrichment step, I am getting zero values for every cluster. Here is result for cluster 1.

adata_img, adata_vis, log_pval, fold_change = ncem.data.compute_cluster_enrichment(
image_key=['Sample_A1'],
target_cell_type='1',
clip_pvalues=-5,
n_neighbors=100,
n_pcs=None,
)

I am getting values as given below:
Ouptut:
1 substates 1 0 1 1 1 2
new_index
0 0.0 0.0 0.0
1 0.0 0.0 0.0
10 0.0 0.0 0.0
11 0.0 0.0 0.0
2 0.0 0.0 0.0
3 0.0 0.0 0.0
4 0.0 0.0 0.0
5 0.0 0.0 0.0
6 0.0 0.0 0.0
7 0.0 0.0 0.0
8 0.0 0.0 0.0
9 0.0 0.0 0.0

Please let me know if I am doing something wrong.

To Reproduce

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...

Expected behavior

System [please complete the following information]:

  • OS: e.g. [Ubuntu 18.04]
  • Language Version: [e.g. Python 3.8]
  • Virtual environment: [e.g. Conda]

Additional context

@archanabhardwaj archanabhardwaj added the bug Something isn't working label Jul 5, 2022
@archanabhardwaj archanabhardwaj changed the title Bug Summary getting only zeros at enrichment step Jul 5, 2022
@archanabhardwaj
Copy link
Author

By changing the radius parameter, problem solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant