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
Transitioning from AnnData to EHRData EHRData replaces AnnData as ehrapy's core data structure to better support time-series electronic health record data.
The key enhancement is native support for 3D tensors (observations Γ variables Γ timesteps) alongside the existing 2D matrices, enabling efficient storage of longitudinal patient data.
A new .tem DataFrame provides time-point annotations, complementing the existing .obs and .var annotations for comprehensive temporal data description.
While EHRData maintains full backward compatibility with AnnData's API, users can now seamlessly work with time-series data and leverage specialized methods for temporal analysis.
Existing code using AnnData objects will continue to work, but migration to EHRData is strongly recommended to access enhanced time-series functionality.
The preferred central data object is now EHRData (#908) @eroell
The layers argument is now available for all functions operating on X or layers (#908) @eroell
Update expected behaviour of io.read_fhir (#922) @eroell
Move mimic_2, mimic_2_preprocessed, diabetes_130_raw, diabetes_130_fairlearn to ehrdata.dt (#908)
Deprecate all ep.dt.*, refer to datasets in ehrdata (#908) @eroell