0.0.10 🌈 Release
EHRData drops the .R field, and now supports 3D data storage in any slot of .layers. See the tutorials/getting_started tutorial for an introduction to this behaviour. In the future, .X will be enabled soon for 3D data storage as well.
Maintenance
Modified
EHRDatadrops the.Rfield in favor of using.layersfor any 3D data arrays (#184) @eroellEHRData's shape property will always return a 3 dimensional shape. If anEHRDataobject has flat arrays only, the third dimension will be 1. (#184) @eroell @flying-sheep @Zethson- The following functions now take a
layerargument:ehrdata.io.read_csv,ehrdata.io.from_pandas,ehrdata.io.to_pandas,ehrdata.io.omop.setup_variables,ehrdata.io.omop.setup_interval_variables,ehrdata.dt.ehrdata_blobs,ehrdata.dt.physionet2012. If it is let to its default,None, the.Xfield ofEHRDatais used. Since.Xis 2D in this release, in cases with 3D data, thelayerargument needs to be used. (#184) @eroell ehrdata.io.write_zarrnow writes anEHRDataspecific store encoding, withanndataas a substore. This change allows to useAnnDatawith its change to consolidated Zarr metadata, and better isolatesAnnData's io. (#185) @eroell @flying-sheepehrdata.io.read_zarris adapted to read the new store encoding, and can also deal withAnnDatastores. (#185) @eroell @flying-sheep