teal.modules.clinical
teal.modules.clinical copied to clipboard
[Feature Request]: Consider parametrized removal of `Total number of deaths` and `Total number of patients withdrawn from study due to an AE` from output rows for `tm_t_events_summary()`
Feature description
Multiple users requested such feature, in which those lines in tm_t_events_summary()
layout_parent_list <- add_expr(
layout_parent_list,
substitute(
expr = count_values(
dthfl_var,
values = "Y",
.labels = c(count_fraction = "Total number of deaths"),
.formats = c(count_fraction = format_count_fraction),
denom = "N_col"
) %>%
count_values(
dcsreas_var,
values = "ADVERSE EVENT",
.labels = c(count_fraction = "Total number of patients withdrawn from study due to an AE"),
.formats = c(count_fraction = format_count_fraction),
denom = "N_col"
),
env = list(dthfl_var = dthfl_var, dcsreas_var = dcsreas_var)
)
)
are non-mandatory and parametrized by logical flag to be removed or shown in the final output
Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
Contribution Guidelines
- [X] I agree to follow this project's Contribution Guidelines.
Security Policy
- [X] I agree to follow this project's Security Policy.