Skip to content

CCI Maps might have reversed axis labels! #309

Closed

Description

@je71xusa

Hello there stlearn team,

I was using you package when I realized that the CCI Maps show a reverse direction for the the interaction. So I checked in you documentation and there it seems to be the same. Example using THBS1_ITGB1 from your documentation: https://stlearn.readthedocs.io/en/stable/tutorials/stLearn-CCI.html

If you focus on Stroma -> Mesenchymal in the network plot there is only one direction from stroma to mesenchymal:
image

This is also the case in the chord-plot and LR-CC-Map:
image
image

But in the CCI Map there is a dot shown from mesenchymal as sender and stroma as receiver while the reverse is missing:
image

Am I missing something here or did the labels in the CCI Map just get swapped?

I hope you can clarify this for me. Thank you!

Edit:
Just realized there is already another issue of this: #299

Activity

  1. BradBalderson commented on Sep 11, 2024

    @BradBalderson
    Collaborator

    Good eye! I think you're right, I have mislabelled the x and y labels for CCI Map. Can correct by running the CCI Map, but instead:

    ax = st.pl.cci_map(data, 'cell_type')
    ax.set_ylabel("Receiver")
    ax.set_xlabel("Sender")
    plt.show()
    
  2. yanwuanxin commented on Oct 29, 2026

    @yanwuanxin

    hellostlearn team,
    may I ask if the above issue has been updated in the current version

  3. newmana commented on Oct 31, 2026

    @newmana
    Collaborator

    Fixed in #362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions