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

Download allen brain data #4

Open
2 tasks done
FrancescaDr opened this issue Jun 10, 2024 · 2 comments
Open
2 tasks done

Download allen brain data #4

FrancescaDr opened this issue Jun 10, 2024 · 2 comments

Comments

@FrancescaDr
Copy link
Collaborator

FrancescaDr commented Jun 10, 2024

  • script for downloading
  • preprocessing: subset slice section 80
@bmanzato
Copy link
Collaborator

https://github.com/AllenInstitute/abc_atlas_access/blob/main/descriptions/Zhuang-ABCA-1.md

@bmanzato
Copy link
Collaborator

bmanzato commented Jun 10, 2024

cell_metadata_sub = cell_metadata[cell_metadata['brain_section_label'] == 'Zhuang-ABCA-1.080']
cell_metadata_extended_sub = cell_metadata_extended[cell_metadata_extended['brain_section_label'] == 'Zhuang-ABCA-1.080']

adata_section80 = adata[adata.obs.index.isin(list(cell_metadata_sub.index))]

check if the indexes are in the same order first

then:
adata_section80.obs = cell_metadata_extended_sub

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