From 58ce15701618fa335a0d1375bf3957e77717431c Mon Sep 17 00:00:00 2001 From: Eljas Roellin <65244425+eroell@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:42:47 +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 e144f137..f759c692 100644 --- a/ehrapy/tools/_sa.py +++ b/ehrapy/tools/_sa.py @@ -389,7 +389,7 @@ def cox_ph( The Cox proportional hazards model (CoxPH) examines the relationship between the survival time of subjects and one or more predictor variables. It models the hazard rate as a product of a baseline hazard function and an exponential function of the predictors, assuming proportional hazards over time. - The results will be stored in the uns slot of the AnnData object under the key 'cox_ph' 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 'cox_ph' unless specified otherwise in the `uns_key` parameter. See https://lifelines.readthedocs.io/en/latest/fitters/regression/CoxPHFitter.html