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

Using SCIMAP with MERFISH or Visium data #116

Open
poloarol opened this issue Sep 26, 2024 · 1 comment
Open

Using SCIMAP with MERFISH or Visium data #116

poloarol opened this issue Sep 26, 2024 · 1 comment

Comments

@poloarol
Copy link

Hello SCIMAP developers,

I wanted to know if it is possible to use either MERFISH or Visium data with this tool, and how would one go about doing so. Because, I keep encountering an error with regarding KeyError: 'imageid'.

Thanks for the cool though and hope to hear from you.

Best,
Polo

@ajitjohnson
Copy link
Collaborator

ajitjohnson commented Sep 27, 2024

Hi Polo,

For most functions in scimap, a column named imageid is required, which corresponds to a unique identifier for each image. This ensures that during spatial analysis, the XY coordinates for each image are treated independently. You can either create a new imageid column (in your single cell table) and assign a unique identifier to each image in your dataset, or, if such a column already exists, ensure you pass its name to the imageid parameter in the relevant functions.

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

No branches or pull requests

2 participants