Skip to content

Commit

Permalink
link between functions
Browse files Browse the repository at this point in the history
  • Loading branch information
eroell committed Jan 15, 2025
1 parent 3386d87 commit 1364d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ehrapy/plot/_survival_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,12 @@ def cox_ph_forestplot(
title: str | None = None,
):
"""Generates a forest plot to visualize the coefficients and confidence intervals of a Cox Proportional Hazards model.
The adata object must be populated via the :func:`~ehrapy.tools._sa.cox_ph` function beforehand.
The adata object must be populated via the :func:`~ehrapy.tools.cox_ph` function beforehand.
Inspired by `zepid.graphics.EffectMeasurePlot <https://readthedocs.org>`_ (zEpid Package, https://pypi.org/project/zepid/).
Args:
adata: :class:`~anndata.AnnData` object containing the summary table from the CoxPHFitter. This object is populated using the :func:`~ehrapy.tools._sa.cox_ph` function.
adata: :class:`~anndata.AnnData` object containing the summary table from the CoxPHFitter. This object is populated using the :func:`~ehrapy.tools.cox_ph` function.
uns_key: Key in `.uns` where the CoxPHFitter object is stored.
labels: List of labels for each coefficient, default uses the index of the coxph.summary.
fig_size: Width, height in inches.
Expand Down

0 comments on commit 1364d97

Please sign in to comment.