pharmaverse / pharmaverse/tern

[Feature Request]: <custom look for Patients at risk table>

Open
#709 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement sme
Dominant language
R
Stars
106
Forks
34
Avg merge
8d 9h
Merged PRs (30d)
6

Description

Feature description

Currently, the "patients at risk" table in kaplan_meier_plot.R cannot be customized.
In particular, using a theme has no effect on it, because the colors (grey mainly) and font size are hard-coded.

In addition, it would be nice to add a title to it. I wish to use "Number of Patients at Risk", but having it customizable as well would be best.

Code of Conduct
  • I agree to follow this project's Code of Conduct.
Contribution Guidelines
  • I agree to follow this project's Contribution Guidelines.
Security Policy
  • I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in kaplan_meier_plot.R, where the patients-at-risk table is generated. Trace how its colors and font size are set and how a title could be supplied, then verify that theme settings and a customizable title affect the table as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.