BodenmillerGroup / steinbock

A toolkit for processing multiplexed tissue images
https://bodenmillergroup.github.io/steinbock
MIT License
49 stars 14 forks source link

Mask signal discordance #223

Closed megleila closed 10 months ago

megleila commented 10 months ago

There is a significant discordance between visually what I am seeing for marker expression in the raw data (ie using MCD viewer) and the expression mapped onto masks using imcRtools -- not just for one marker but for many. Can you help me understand why this is? Is this expected or a sign something is incorrect?

image image image image image image
nilseling commented 10 months ago

Hi @megleila

Could you please explain what you have done to process the data? Could you also potentially share the data and the scripts with me (nils.eling@uzh.ch).

nilseling commented 10 months ago

So I'm seeing that for "Batch1_002" there are 6808 cells in the corresponding intensities CSV. However there are only 6298 cells in the cell mask TIFF. Something didn't work right when you applied steinbock to the data. Please redo the processing and test this again. My assumption is that you calculated the intensities, etc on different masks.

nilseling commented 10 months ago

It can also help to open the CSV files in Excel and the masks in FIJI (click Image > Adjust > Brightness and Contrast to observe the maximum cell ID) and compare.

megleila commented 10 months ago

That's weird. I'll definitely re-process it and try again. Thank you so much!


From: Nils Eling @.> Sent: Friday, September 8, 2023 12:20 PM To: BodenmillerGroup/steinbock @.> Cc: Baker, Megan @.>; Mention @.> Subject: Re: [BodenmillerGroup/steinbock] Mask signal discordance (Issue #223)

It can also help to open the CSV files in Excel and the masks in FIJI (click Image > Adjust > Brightness and Contrast to observe the maximum cell ID) and compare.

— Reply to this email directly, view it on GitHubhttps://github.com/BodenmillerGroup/steinbock/issues/223#issuecomment-1711925498, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAH2R6LAMY7OJ53V2GC7MQDXZNAVZANCNFSM6AAAAAA4QN2I7E. You are receiving this because you were mentioned.Message ID: @.***>

megleila commented 10 months ago

This fixed it - not sure what happened before. Thanks for that catch and for your help!

nilseling commented 10 months ago

That's great, I'm glad it worked. I'm closing this now.