keller-mark / pizzarr

Slice into Zarr arrays in R 🍕
https://keller-mark.github.io/pizzarr/
MIT License
25 stars 2 forks source link

Support for both C and F order #37

Closed keller-mark closed 10 months ago

keller-mark commented 10 months ago

Currently, "F" ordering is supported but "C" is not (there are no errors but the resulting arrays are incorrect).

Different orderings probably do not work yet but tests will help to make sure. Likely need to use aperm function to transpose array in NestedArray::flatten, passing order as a parameter when calling. Also will need to pass order as a parameter to constructor when NestedArray is initialized from a raw vector