lhqing / whole_mouse_brain

misc code for whole mouse brain analysis
MIT License
5 stars 0 forks source link

Add L4Region label for each dataset Annotation Zarr #2

Closed lhqing closed 2 years ago

lhqing commented 2 years ago
lhqing commented 2 years ago

L4Region is added in all datasets, the label is separated from L4 by dissection regions. The small group is merged based on its clustering PC matrix back.

For CEMBA mC: 4673 labels, the smallest label has 20 cells For CEMBA m3C: 2363 labels, the smallest label has 20 cells

For other datasets, the current label is temporary, will update it later when other data providers freeze the dataset.

lhqing commented 2 years ago

To get the L4Region, just do

# use cemba mc as an example
annot = cemba.get_mc_annot()
annot['L4Region'].to_pandas().value_counts()