From ee97f31f53112db5e34c247e3fead95a1a4ac298 Mon Sep 17 00:00:00 2001 From: Eljas Roellin <65244425+eroell@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:42:56 +0100 Subject: [PATCH] Update ehrapy/tools/_sa.py Co-authored-by: Lukas Heumos --- ehrapy/tools/_sa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehrapy/tools/_sa.py b/ehrapy/tools/_sa.py index f759c692..6954da23 100644 --- a/ehrapy/tools/_sa.py +++ b/ehrapy/tools/_sa.py @@ -488,7 +488,7 @@ def weibull_aft( where the underlying assumption is that the logarithm of survival time follows a Weibull distribution. It models the survival time as an exponential function of the predictors, assuming a specific shape parameter for the distribution and allowing for accelerated or decelerated failure times based on the covariates. - The results will be stored in the uns slot of the AnnData object under the key 'weibull_aft' unless specified otherwise in the uns_key parameter. + The results will be stored in the `.uns` slot of the :class:`AnnData` object under the key 'weibull_aft' unless specified otherwise in the `uns_key` parameter. See https://lifelines.readthedocs.io/en/latest/fitters/regression/WeibullAFTFitter.html