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

mult-session registration question about dealing with drop-out and drop-in #1372

Open
smbaca opened this issue Jul 17, 2024 · 2 comments
Open

Comments

@smbaca
Copy link

smbaca commented Jul 17, 2024

Hoping to get a bit of help with the following issue. Easiest to just explain our datasets and what we would like to do.

We have three in vitro slice sessions recorded in the same day but at different times (waiting for drugs to wash-in). CONTROL | DRUG | ACTIVATE

ACTIVATE is just where we apply a glutamate uptake blocker to activate as many cells as possible in the field.

Anyway, we would like to collect ALL the ROIs active in ANY session and then plot the cleaned calcium trace of each ROI. We use the multi-session registration after analyzing each session independently. This give us the ROIS that are the same across sessions as well as identifies those that are only active in one session. BUT we want to take every cell activated in ANY session and then plot the calcium signal but this results in very weird results in any of the cells that are not seen as active in all of the sessions.

I think the solution is to do what we have been doing to get the ROIS and then use them to redo the calcium trace extraction from each session...a bit wonky and time-intensive but wondering if that is the only way to handle these recordings? Also, I am unclear on how the program deals with normalizing the signals between sessions or if that is something that has to be done after the trace extraction.

We are explicitly interested in cells that become active or that dropout in DRUG condition so just finding cells active in all sessions is insufficient and somewhat misleading about what is going on in the brain area imaged.

Suggestions welcome!

@pgunn
Copy link
Member

pgunn commented Jul 17, 2024

On first glance, I think you're doing the right thing; in theory you could use the offline algorithms, but they're older and don't perform as well (I think). We can see if @kushalkolar has any other ideas, but I'm guessing he'll say the same thing.

On the second question, I believe the multisession notebook demo includes calls that do that, but I'll need to make sure (I haven't looked at that code in awhile).

@smbaca
Copy link
Author

smbaca commented Jul 17, 2024 via email

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