You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AnnData only requires entries in obsm have "a first dimension of size n_obs", but AnndataR seems to additionally require that the number of dimensions is no larger than 2.
Example: reading h5ad
For example, I have an h5ad containing the following 3D obsm entry which I can load up in Python:
> library(anndataR)
> adata <- read_h5ad("spatial_data.h5ad")
Error in private$.validate_aligned_array(collection[[mtx_name]], collection_name, :
dim(obsm[['cell_border']])[1] should have shape: 130597, found: 2.
Example: saving h5ad
Also, I can create an object with some n-dimensional obsm in AnndataR manually, but I can't save it back to a file because it requires the entry to be a matrix:
Issue summary
AnnData only requires entries in obsm have "a first dimension of size n_obs", but AnndataR seems to additionally require that the number of dimensions is no larger than 2.
Example: reading h5ad
For example, I have an h5ad containing the following 3D obsm entry which I can load up in Python:
I try to load it in
anndataR
:Example: saving h5ad
Also, I can create an object with some n-dimensional obsm in AnndataR manually, but I can't save it back to a file because it requires the entry to be a matrix:
The text was updated successfully, but these errors were encountered: