Skip to content

Any way to map the probes sequences with the bins? #738

Open

Description

@Rafael-Silva-Oliveira

Hey, I'd like to map the probes sequence (GGTGACA...., etc) with the location of each bin on the 2 micron so I can match with TCR sequences found in the data. Is there a way to map the sequence of each bin together with the observations so this overlap could be plotted?

Activity

  1. LucaMarconato commented on Jan 5, 2025

    @LucaMarconato
    Member

    Hi @Rafael-Silva-Oliveira, I think you can achieve this by using join_spatialelement_table() followed by a call of pd.merge() (using the instance_key column from the joined table and the index from the elements).

    Or even simpler, if your elements is called "my_bins", you can also filter the table by region_key values equal to "my_bins", and then do a join with pd.merge() as above.

    Probably also related to a draft PR for a new API that will make it easier to link tables and shapes: #627.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions