scverse / mudata

Multimodal Data (.h5mu) implementation for Python
https://mudata.rtfd.io
BSD 3-Clause "New" or "Revised" License
72 stars 16 forks source link

Semantic API identifier for axes #64

Open gtca opened 5 months ago

gtca commented 5 months ago

Following https://github.com/scverse/anndata/issues/1245, it makes sense to allow axis labels in MuData:

axis: Literal[0, 1, 'obs', 'var']

or, when creating an object with both axes shared,

axis: Literal[0, 1, 'obs', 'var', -1]