pharmaverse / pharmaverse/tern
[Feature Request]: <custom look for Patients at risk table>
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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