We are planning to add DelayedArray support to {anndataR} and one option that would make sense is to use the H5ADMatrix class (see scverse/anndataR#128). However, the object is currently transposed to match R conventions while AnnData uses Python conventions. Would it be possible to allow a non-transposed H5ADMatrix (probably with a transpose argument somewhere)?
Alternatively, do you have an idea how much overhead there is to doing t(h5ad_matrix) which returns a regular DelayedMatrix? If that's not costly maybe it's a simpler option.
We are planning to add
DelayedArraysupport to {anndataR} and one option that would make sense is to use theH5ADMatrixclass (see scverse/anndataR#128). However, the object is currently transposed to match R conventions whileAnnDatauses Python conventions. Would it be possible to allow a non-transposedH5ADMatrix(probably with atransposeargument somewhere)?Alternatively, do you have an idea how much overhead there is to doing
t(h5ad_matrix)which returns a regularDelayedMatrix? If that's not costly maybe it's a simpler option.