-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The now obsolete anndata package can handle awkward arrays, e.g. adata$obsm$airr <- my_airr where airr is an "awkward.highlevel.Array" object. But in anndataR, this fails with the error:
Error in `private$.validate_aligned_mapping()`:
! Unexpected shape for obsm[['airr']]
ℹ Expected [n], got []
Run `rlang::last_trace()` to see where the error occurred.
where n is the value of nrow(adata). It appears that private$.validate_aligned_mapping does not know how to get the dimensions of airr, whereas the equivalent check in anndata does.
Metadata
Metadata
Assignees
Labels
No labels