Extracting cells from with specific criteria

Hello,

I am trying to extract the cells along with the gene expression , which belong to the PSTN anatomical structure (part of HY anatomical division) with the criteria of Crh gene expression in a specific range.

I have tried to use the instructions from this notebook but I am not able to select the specific cells with the above mentioned criteria.

Can you let me know how I can go about extracting this?

Thanks

Dataset - MERFISH-C57BL6J-638850 Reconstructed Coordinates,
CCF mapped coordinates for cells in the whole brain spatial transcriptomics dataset (MERFISH-C57BL6J-638850-CCF)

Hi! Thank you for your question. We are working on a solution for this and will get back to you by the end of the week.

Hi Rachel,

Is there any update on the solution.

Thanks

@asundaresan

Thank you for your patience. Here is a link to a Google Colab notebook that should be able to answer your question (getting gene expression data for an anatomical substructure). The notebook is written using the MERFISH-C57BL6J-638850-imputed data, but can be run with MERFISH-C57BL6J-638850 data (not imputed). The notebook also features another filter (restricting cells to a neurotransmitter type), but those lines can be skipped.

Feel free to email me at rachel.hostetler@alleninstitute.org if you have any issues with the notebook or further questions.