Changelog
Source:NEWS.md
teal.modules.clinical 0.11.1.9007
Enhancements
- Modules return a
teal_reportobject that contains the data, code and report. All the reporter buttons were removed from the modules’ UI in favor of the framework level reporter buttons (#1376). - Added
xticksparameter totm_g_kmmodule to allow users to specify x-axis tick positions programmatically. Whenxticksis provided, the interactive input field is pre-populated with the specified values as a default. Users can then modify these values interactively, and their changes will take precedence over the default. WhenxticksisNULL(default), users can specify this interactively in the module. - Updated
Rversion dependency from 4.0 to 4.4.0, as upstream dependencyternrequires this.
teal.modules.clinical 0.11.1
CRAN release: 2025-08-22
Enhancements
- Improved the layout and appearance of the app using
bslibcomponents. - Added argument
conf_typeto moduletm_g_kmto allow users to set a confidence interval type for median survival time estimation. - Added
denomargument intm_t_binary_outcomemodule. - Update
withrdependency version.
teal.modules.clinical 0.10.0
CRAN release: 2025-02-28
Enhancements
- Added
teal.loggerfunctionality for logging changes in shiny inputs in all modules. - Introduced
ylimparameter fortm_g_kmmodule that controls width of y-axis. - Added functionality to
tm_t_events_patyearto split columns by multiple (nested) variables via thearm_varargument. - Added arguments
arm_var_labelstotemplate_summaryandshow_arm_var_labelstotm_t_summaryto allow user to display arm variable (arm_var) labels in table header. - Added argument
statsto modulestm_g_forest_rspandtm_g_forest_tteto allow users to specify statistics to include in the table. - Added argument
riskdiffto modulestm_g_forest_rspandtm_g_forest_tteto allow users to add a risk difference table column. - Added the
count_dthandcount_wdparameters totm_t_events_summaryto select/deselect the “Total number of deaths” and “Total number of patients withdrawn from study due to an AE” rows, respectively. These options correspond to the “Count deaths” and “Count withdrawals due to AE” checkboxes available when the module is run. - Added the
title_textargument totm_t_mult_eventsto allow for more customization of the module’s dynamic title. - Introduced
transformatorsanddecoratorsargument to modules.
Bug fixes
- Fixed bug in creating modules with
delayed_dataandteal.transform::all_choices. - Fixed bug in
tm_g_forest_tteandtm_g_forest_rspto resolve delayed data loading variables.
Miscellaneous
- Removed
Show Warningsmodals from modules. - Clarified the documentation specifying whether multiple values can be selected in the
arm_varargument for each module. - Replaced use of the
rtables::add_colcounts()function with theshow_colcountsargument tobasic_table(). - Began deprecation cycle for the
show_labelsargument oftemplate_summarywhich has no effect on thetm_t_summarymodule. - Replaced instances of deprecated
strataargument totern::control_lineplot_vars()withgroup_var. - Added an assertion to
tm_t_events_summary()to check whether all datasets used have the same treatment variable levels.
teal.modules.clinical 0.9.1
CRAN release: 2024-04-27
Enhancements
- Updated
tm_g_forest_rspandtm_g_forest_tteto use refactored version ofg_forest. Plots are now displayed asggplotobjects instead ofgrobobjects. Added parametersfont_sizeandrel_width_forestto control font size and width of plot relative to table, respectively. - Updated
tm_t_summary_byto allowNULLinput toparamcdargument. - Updated
tm_g_kmto use refactored version ofg_km. Plots are now displayed asggplotobjects instead ofgrobobjects. Added parametersrel_height_plot,font_size,control_annot_surv_med, andcontrol_annot_coxphto control height of plot relative to table, font size, median survival time table size, and Cox-PH table size, respectively. - Added the
controlargument totm_t_binary_outcometo control settings for the analysis (methods, confidence intervals, and odds ratios) within the module.
Miscellaneous
- Replaced instances of deprecated
na_levelargument toternfunctions withna_str. - Replaced argument/list element name
stratainstead ofstratin allternfunction calls following the deprecation of this argument/name withintern. - Removed
formattersfrom dependencies and replaced the use of its functions relating to variable labels with functions fromteal.data.
teal.modules.clinical 0.9.0
CRAN release: 2024-02-23
Breaking Changes
- Adapted all modules to use
teal_dataobjects. - Module arguments that previously accepted inputs from
teal.transform::choices_selected()orteal.transform::data_extract_spec()now only accept input fromteal.transform::choices_selected(). The affected modules are:tm_a_gee,tm_a_mmrm,tm_g_ci,tm_g_forest_rsp,tm_g_forest_tte,tm_g_ipp,tm_g_km,tm_g_lineplot,tm_g_pp_adverse_events,tm_g_pp_patient_timeline,tm_g_pp_therapy,tm_g_pp_vitals,tm_t_abnormality,tm_t_abnormality_by_worst_grade,tm_t_ancova,tm_t_binary_outcome,tm_t_coxreg,tm_t_events,tm_t_events_by_grade,tm_t_events_patyear,tm_t_events_summary,tm_t_exposure,tm_t_logistic,tm_t_mult_events,tm_t_pp_basic_info,tm_t_pp_laboratory,tm_t_pp_medical_history,tm_t_pp_prior_medication,tm_t_shift_by_arm,tm_t_shift_by_arm_by_worst,tm_t_shift_by_grade,tm_t_smq,tm_t_summary,tm_t_summary_by, andtm_t_tte
Enhancements
- Updated the documentation and vignettes to demonstrate method to pass
teal_dataobject toteal::init(). - Simplify examples and vignettes code by removing package prefixes where possible.
- Added parameter
sort_freq_coltotm_t_eventsto allow the user to select column to use when sorting by decreasing frequency. - Added parameter
incl_overall_sumtotm_t_eventsto allow the user to choose whether overall summary rows are included at the top of the table. - Updated the documentation and vignettes to demonstrate method to pass
teal_dataobject toteal::init(). - Added
default_total_labelandset_default_total_labelfunctions to get and set default total column label (total_label) for modules. - Implemented
tern::default_na_strandtern::set_default_na_strfunctions to get and set default missing value replacement string (na_level) for modules.
Bug fixes
- Fixed bug in
tm_g_lineplotforcing module to initialize with a table. - Fixes partial matching.
Miscellaneous
- Deprecated the
avalargument intm_t_pp_laboratoryandtm_g_pp_vitalsand replaced it with theaval_varargument. - Deprecated the
avaluargument intm_t_pp_laboratoryand replaced it with theavalu_varargument. - Deprecated the
base_varargument intm_g_ipp,tm_t_shift_by_arm, andtemplate_shift_by_arm_by_worstand replaced it with thebaseline_varargument. - Specified minimal version of package dependencies.
- Replaced usage of deprecated
summarize_varsfunction withanalyze_vars. - Reduced package dependencies (removed
tidyr,rlang,magrittrandstyler). - Introduced tests against partial matching.
teal.modules.clinical 0.8.16
Enhancements
- Added more informative error message when grade mapping error occurs in
tm_t_abnormality_by_worst_grade. - Fixed label indentation in
tm_t_abnormality_by_worst_grade. - Added
total_labelargument to enable customization of the “All Patients” column/row label in the following modules:tm_a_mmrm,tm_t_abnormality,tm_t_abnormality_by_worst_grade,tm_t_binary_outcome,tm_t_events,tm_t_events_by_grade,tm_t_events_patyear,tm_t_events_summary,tm_t_exposure,tm_t_mult_events,tm_t_shift_by_arm,tm_t_shift_by_arm_worst,tm_t_shift_by_grade,tm_t_smq,tm_t_summary,tm_t_summary_by, andtm_t_tte. - Increased default width of
tm_g_forest_tteplot to prevent overlapping text. - Improved default annotation table sizing in
tm_g_km. - Refactored
tm_t_exposureto display “total” row as last row in table instead of as a summary row. Added parametersadd_total_rowto set whether the total row should be displayed andtotal_row_labelto set the total row label. - Updated
tm_t_eventsto maintain indentation after pruning. - Updated default reference/comparison arm level selection to work when arm variable levels are filtered out.
- Updated
tm_t_coxregto drop factor covariate variable levels that are not present to avoid errors when filtering. - Updated
tm_t_pp_basic_info,tm_t_pp_medical_history,tm_g_pp_therapy,tm_g_pp_adverse_events, andtm_t_pp_laboratoryto print patient ID above table. - Updated
tm_t_pp_basic_info,tm_g_pp_therapy,tm_g_pp_adverse_events, andtm_t_pp_laboratoryto userlistingsto print data neatly in reports. - Updated
tm_g_lineplotto allow user to remove interval from plot. - Updated the documentation and vignettes to demonstrate method to pass
teal_dataobject toteal::init().
Bug fixes
- Fixed bug in
tm_t_coxregpreventing table from being displayed when no covariates are selected.
Miscellaneous
- Updated
control_incidence_rateparameter names intm_t_events_patyearfromtime_unit_inputandtime_unit_outputtoinput_time_unitandnum_pt_year, respectively, after parameter names were changed intern. - Hid the datasets that were not being used by the patient profile modules in the filter panel. Replaced the
datanames = "all"parameter with the datasets used internally by the module.
teal.modules.clinical 0.8.15
Breaking changes
- Replaced
chunkswith simplerqenvclass. - Replaced
datasetsargument containingFilteredDatawith the new argumentsdata(tdataobject) andfilter_panel_api(FilterPanelAPI).
Enhancements
- Replaced
synthetic_cdisc_datawith refactoredsynthetic_cdisc_datasetfunction to speed up dataset loading in tests/examples. - Added new GEE module
tm_a_gee. - Added interface for selecting an interaction term to
tm_t_ancova. - Updated encoding input checks to use
shinyvalidate::InputValidatorfor better UI experience. Previously usedshiny::validate. - Added option to
tm_a_mmrmto allow forKenward-Rogeradjustments of standard errors and p-values. - Added option to choose facet scale options in
tm_g_barchart_simple. - Added
labelparameter tocs_to_select_spec/cs_to_des_selectandcs_to_filter_spec/cs_to_des_filterto allow the user to customize the label printed over the selection field. - Updated
tm_t_coxregmodule after refactoringsummarize_coxreginternto fix indentation. - Updated
tm_t_exposuremodule to use new functionanalyze_patients_exposure_in_colsto fix table structure.
Bug fixes
- Fixed bug causing overlapping bars in
tm_g_barchart_simple. - Fixed bug for figures in
svgformat. - Fixed bug in
tm_t_summaryandtm_t_summary_bypreventing users from specifying thenumeric_statsargument.
Miscellaneous
- Updated package Suggests to use
scda.2022rather thanscda.2021. - Removed unused argument
paramfromtm_g_pp_vitals. - Removed optimizer choice from
tm_a_mmrmsince we can always use the automatically determined optimizer. - Created datasets to use in examples/tests for
adsl,adae,adaette,adcm,adeg,adex,adlb,admh,adqs,adrs,adtte, andadvs. These datasets are stored in the data folder and accessible via thetmc_ex_*prefix. - Updated all examples and tests to use datasets from the
teal.modules.clinicalpackage instead ofscdadatasets. - Updated tests to use
testthat3rd edition and replaced all applicable tests with snapshot testing. - Implemented the
lubridatepackage for date variables in internal data. - Changed default value of
plot_widthintm_g_forest_rspto prevent clutter.
teal.modules.clinical 0.8.14
Enhancements
- Updated all synthetic data for tests to version
rcd_2022_02_28. - Updated all test files in
tests/testthat/tosynthetic_cdisc_data("2022_02_28") - Reverted missing data checkbox in
tm_t_summary(encoding and filtering should be separate). - Implemented a new widget that allows dragging and dropping to select comparison groups.
- Added the
teal.reporterfunctionality to all modules. - Enhanced the
tm_t_pp_medical_historymodule to use thetable_with_settingsmodule and return anrtablesobject. - Implemented
nestcolorin examples, refactoredtm_g_barchart_simpleto allow use ofnestcolor. - Added more descriptive title/labels and visit name subtitle to
tm_g_ci. - Updated
tm_a_mmrmcolumn name when deselecting treatment from “all obs” to “All Patients”, added subtitles and footnotes. - Added a title and parameter category subtitle to
tm_t_exposure, cleaned up labels. - Added titles and worse flag variable subtitles to
tm_t_shift_by_gradeandtm_t_shift_by_arm_by_worst. - Added a footnote to
tm_t_events_patyearwith CI method. - Added a subtitle and footnotes to
tm_g_km. - Added Stratified Analysis CI method option panel to
tm_t_binary_outcome. - Added validation for covariate/visit conflicts to
tm_a_mmrm. - Remove unnecessary brackets from header in
tm_t_exposure. - Hid footnotes in
tm_g_kmandtm_t_ttewhen “Compare Treatments” is off.
Bug fixes
- Fixed bug in
tm_g_barchart_simplewhich prevented display of graph. - Fixed broken example for
tm_t_abnormality_by_worst_grade. - Fixed bug in
tm_a_mmrmwhich prevented table headers from displaying. - Fixed bug in
tm_g_forest_rspwhen deselecting endpoint. - Fixed bug in
tm_t_binary_outcomethat crashed the app when deselecting allparamcd. - Fixed
teal.reportercard names fortm_t_smq. - Fixed bug in
tm_t_shift_by_arm_by_worstby adding validations for choosing different endpoint values. - Fixed bug in
tm_t_coxregpreventing footnotes from displaying for univariate models.
Miscellaneous
- Added
nestcolordependency and replaced deprecated functiontern::color_palettewithnestcolor::color_palette.
teal.modules.clinical 0.8.13
Enhancements
tm_g_pp_adverse_events
- Updated the position of the labels.
- Updated the plot to render the color legend.
tm_t_summary
- Updated and added a footnote.
- Enhanced the module to support geometric mean in the encoding panel.
- Updated the module to display the checkboxes for numeric variables statistics when numeric variables are part of the selected.
- Updated validations to warn users when using a dataset with non unique identifiers or when selecting variables with non supported types (i.e.
Date,POSIXt). - Added a checkbox to remove the column generated by missing values.
Other modules
- Updated
tm_t_binary_outcometo enable an option to apply a continuity correction in theNewcombemethod. - Simplified the show R code for
tm_g_pp_patient_timelinemodule. - Improved the names of the code chunks shown in
Debug Info. - Improved the validation if treatment variable is not a factor.
Bug fixes
- Fixed
summarize_logisticimplementation broken by empty string error. upstream._NA_is the new standard flag to allow it to pivot over empty entries in data frames. - Took out
@titlefromtm_t_binary_outcome.Rthat was producing a warning. - Updated validation to account for the error when selecting a single variable in
tm_g_pp_patient_timelinemodule.
teal.modules.clinical 0.8.12
New features
- Added new module
tm_t_shift_by_arm_by_worstfor the analysis of the laboratory abnormalities with the most severe grade flag. - Enhanced
tm_t_events_patyearto include selected parameter in title of the table. - Enhanced
tm_t_mult_eventsto include selected parameter in title of the table.
Enhancements
- Rewrote modules to use
moduleServerand updated calls toteal.develmodules which were also written to usemoduleServer. - Changed the way of obtaining of selection ordered after changes in
teal.devel. Useordered = TRUEincs_to_des_selectorcs_to_select_specto return ordered selection. - Replaced calls to
teal::root_moduleswithteal::modulesfollowing deprecation ofteal::root_modules. -
tm_t_events_summarynow allows nestedarm_varcolumns matching other outputs such astm_t_events. - Added validation in
tm_t_abnormality_by_worst_gradewhenarm_varis not selected. - Enhanced
tm_t_binary_outcometo include all responders in the response table by default. - Added a subtitle to
tm_g_forest_tte,tm_t_coxreg, andtm_t_binary_outcomelisting stratification factors.
Bug fixes
- Fixed a bug to prevent processing of empty sets of data by
tm_g_forest_rsp.Rcausingshinyerrors during the runtime. - Fixed a bug where a closed
Compare Treatmentsconditional panel with a markedCombine all comparison groups?option conflicted with adding a column with all patients to tables intm_t_binary_outcome.Randtm_t_tte.R.
Miscellaneous
- Replaced the deprecated
rtables::var_labelscalls in the documentation examples. - Add import of
tern.mmrmpackage and change some references after split oftern. - Adjusted package imports to take into account changes to the
tealframework. - Ensure consistent vertical order of
tm_g_pp_patient_timelineoutput when switching between absolute and relative days.
teal.modules.clinical 0.8.11
Breaking changes
- Updated
tm_t_abnormalitydue to changes incount_abnormalthatabnormalargument is taking list as input now. - Changed the
tm_g_pp_patient_timelineparameter,cmtrt, tocmdecod.
New features
- Added new module
tm_t_abnormality_by_worst_gradefor the analysis of laboratory test results with highest grade post-baseline. - Enhanced
tm_t_ancovato include selected parameter(s), visit(s) and the analysis variable in title of the table. - Added new module
tm_g_lineplotfor creating line plots. - Enhanced
tm_t_logisticto include selected parameter in title of the table. - Enhanced
tm_g_forest_rspto include selected parameter in title of the table. - Enhanced
tm_g_forest_tteto include selected parameter in title of the table. - Enhanced
tm_g_pp_patient_timelinewith bold axes labels and integer values on the axis. - Enhanced
tm_g_ippto allow users not to displayAVALUin the title nor in the y axis.
Enhancements
- Added support for logging with the
loggerpackage and added info level logs upon initialization of a module. - Added
default_responsesargument totm_t_binary_outcomeandtm_g_forest_rspto allow the user to specify default selected responses and possible response levels. - Updated
tm_t_binary_outcometo show selected responses in the output table when selecting “Show All Selected Response Categories”. - Added
rsp_tableargument totm_t_binary_outcometo allow the user to initialize the module matching theRSPT01STREAM template. - Added support for custom arguments for
ggplot2::labsandggplot2::themein plot based modules. - Added support for custom arguments for
rtables::basic_tablein table based modules. - Updated
tm_t_binary_outcometo enable an option to apply a continuity correction in the Wilson method.
Miscellaneous
- Updated required R version to >= 3.6.
- Refactored calls to the defunct
teal.devel::data_extract_inputinto calls to its replacementteal.devel::data_extract_ui. - Updated modules to use new
data_merge_moduleinterface provided byteal.develand removed usage of the now deprecated functionteal.devel::get_input_order. - Updated
tm_t_binary_outcomemodule to add a template and removed the now deprecated moduletm_t_rsp. - Removed
utils.nestdependency and replaced calls withcheckmateequivalents.
teal.modules.clinical 0.8.10
New features
- Added new module
tm_t_smqfor the analysis of adverse events by StandardizedMedDRAQuery. - Added new module
tm_t_shift_by_gradefor the analysis of grade laboratory abnormalities. - Added new module
tm_t_exposurefor the analysis of duration of exposure for risk management plan. - Added new module
tm_t_shift_by_armthat can display shift table of ECG interval data.
Bug fixes
- Corrected
tm_a_mmrmto be able to consider the treatment variable in all interactions. - Fixed
tm_t_binary_outcomeandtm_t_rspto choose the correct CI estimation method for Proportions Difference in Stratified Analysis (i.e. Wald-type confidence interval withCMHweights).
Enhancements
- Added validation checks to
tm_t_rspandtm_t_binary_outcomefor stratification errors from applied filters. - Added
tm_g_kmvalidation check for plot tables font size. - Enhanced
tm_g_kmto add the selectedparamcdin the plot title. -
tm_t_eventsnow can display layouts with two nested column as treatment variables. The same options for pruning and sorting are available. - Exported package helper functions.
- Updated
tm_t_events_by_gradeto display grading groups in nested columns withcol_by_gradeoption and support pruning and sorting options liketm_t_events. - Used
format_count_fractionto fix formatting inconsistency intm_t_events_summary. - Updated
count_occurrencesvarsargument intm_t_shift_by_grade. - Updated
tm_t_pp_laboratoryto display 4 decimals by default. - Updated
tm_t_events_by_gradeto use thetrim_levels_in_groupsplit function instead of thetrim_rowsfunction. - Added a table title to
tm_t_tte. - Added table titles to
tm_t_rspandtm_t_binary_outcome.
Miscellaneous
- Updated
LICENCEandREADMEwith new package references. - Added
error_on_lint: TRUEto.lintr. - Removed
insert_rrowand updated usage ofcount_patients_by_flagsintm_t_events_summary. - Changed how the package calls functions from the
dplyrpackage. The functions should be now fully specified (e.g.dplyr::filter).
teal.modules.clinical 0.8.9
New features
- Added capability to remember the order of user input to some encoding UI elements. Inputs marked with a double arrow icon have tracking enabled. The affected modules are:
tm_t_summary,tm_t_summary_by,tm_g_forest_rsp,tm_g_forest_tte,tm_t_events_summary,tm_t_abnormality,tm_t_mult_events. - Added a new argument
numeric_statstotm_t_summaryandtm_t_summary_byto control displayed summary statistics for numeric variables. - Added a new argument
drop_zero_levelstotm_t_summary_byso that you can drop rows with all zeros from result table.
Enhancements
- Split
tm_g_patient_profiletabs into 8 separate new modules. - Added the option to select patient ID from the filter panel for all the modules of patient profile.
- Added a validation for
tm_g_patient_timelinewhen the plot is empty. - Enhanced
tm_a_mmrmto work without the treatment variable. - Added the option to choose the number of decimal places for rounding in
tm_t_pp_laboratory. - Added a check box to
tm_g_pp_patient_timelinehiding/showing relative study days on the x-axis. - Added a title with patient’s id to plots in patient profile modules.
- Made the gray error message in
tm_g_forest_ttemore informative when deselecting theEndpointcolumn in the left-hand encoding panel. - Added the twenty-fifth and seventy-fifth quantile to summary statistics in
tm_t_summary. - Added an interaction p-value column for
tm_t_coxreg. - Added a validation for
tm_t_ancovawhen selected covariate variables contain one level. - Added a validation for
tm_t_events_patyearwhen the events variable is empty. - Changed the font size input description for
tm_g_kmto more precisely describe what it controls. - Enhanced
tm_t_logisticso that interaction choices depend on the selected covariates. - Enhanced
tm_t_rspso that strata input is visible when comparing treatments.
Bug fixes
- Fixed Get R Code output of
tm_t_pp_laboratoryto return identical HTML formatted table as displayed in the app. - Added a validation for
tm_t_coxregto ensure treatment, strata and covariate variables do not overlap. - Limited the label repel feature in
tm_g_pp_patient_timelineto X-axis for a more consistent look. - Updated
tm_t_summary_byso thatparamcdis not required when analyzingADSLvariables. - Updated
tm_t_coxregso that it can work when there is no covariate selected. - Updated
tm_a_mmrmso that it can work when treatment variable is not selected. - Updated
tm_g_forest_tteso that total number of events are also shown in the table. - Updated
tm_t_events_summaryto work with pooled studies. - Updated validation for the
atlevel oftm_t_coxreg. - Updated validation for the
atlevel oftm_t_logistic. - Added a validation for
tm_t_binary_outcomeandtm_t_rspto ensure strata variable contains more than one level when selecting one strata variable. - Updated the warning message when deselecting all statistics in
tm_t_summaryandtm_t_summary_byto explain need to select at least one statistic.
teal.modules.clinical 0.8.8
Enhancements
- Added the option to download and expand tables.
- In
tm_g_kmadded support for downloading images and updated x-axis label to show in title case. - For
tm_g_patient_profile:- Added a slider for the font size in plots.
- Added persistence for selected table lengths.
- The timeline plot now supports more edge cases.
- In vitals tab, removed unused label text legend, updated plot to display stable colors per levels, cleared x-axis limit and fixed legend to update when filtering. Also added a note to clarify the supported horizontal lines cases.
- Updated adverse events tab to show a warning message instead of an empty plot when data is empty.
- Fixed
PARAMCDselected levels for current patient.
- For
tm_t_tte:- Updated the pre-processing code inside
template_tteso that a dataset without any events still produces a table. - Updated code to use correct denominator for duration of response endpoints.
- Updated the pre-processing code inside
- For
tm_t_summary:- Modified the parameter
arm_varto accept more than one column. When selecting two columns forarm_var, the second variable will nest under the first one. - Added argument
show_labelstotemplate_summaryto show the label for a single summary variable in the table.
- Modified the parameter
- Added a new parameter
conf_argtotm_t_rspto be consistent with other efficacy modules. - Added validation statement in
tm_g_ippmodule to print message when deselectingTimepoint Variabledrop-down. - Removed header definition in
tm_g_forest_rspandtm_g_forest_tteas there is now a default header ing_forest. - Fixed validation statement in
tm_t_coxregso that models without strata and using likelihood tests return a result. - Clarified functionality of
drop_arm_levelsfortm_t_summaryandtm_t_summary_by. In the encodings panel, the checkbox will show when the parent dataset and analysis dataset are different.
Miscellaneous
- Replaced the remaining two
observefunction calls withobserveEventto optimize performance. - Fixed grammar in the “Select a patient’s id” error message in the
tm_g_patient_profile. - Fixed the
font_sizedefault of the templates to be 12L instead of a vector of 3 integers and cleaned associated unnecessary code. - Fixed deprecated function warning in
tm_g_barchart_simple. - Fixed
subgroup_vardefinition truncation intm_g_forest_rspandtm_g_forest_tte. - Clarified labeling related to regression type in the encoding panel from
tm_t_coxreg.
Bug fixes
- Added a validation for the case when filtering out all rows in the therapy tab of
tm_g_patient_profile. - Updated the internals of the modules to read data from the correct field of the
filter_specobjects. - Fixed the reactivity between the filter panel and the
PARAMCDvariable levels input intm_g_patient_profilevitals tab so that the plot does not get reset when filtering. - Updated the vitals plot tab in
tm_g_patient_profileto drop NA entries in the plot. - Updated
tm_t_coxregto take at values into account. - Added a check in
tm_t_coxregto have interactions in univariate models but not in multivariate models. - Updated
tm_t_events_summaryto work with pooled studies.
teal.modules.clinical 0.8.7
New Module
- Added new module
tm_g_patient_profileto profile patients based on predefined categories. - Added new module
tm_g_ippfor individual patient plots.
Enhancements
- Added the argument
drop_arm_levelsto all safety modules. This allows removal of columns based on factor levels not found in filtered data. - Updated
tm_g_kmto allow plot of failure probability on y-axis, tick interval selection on x-axis and option to create plot without confidence interval ribbon (new default). - Added the argument
time_unit_vartotemplate_g_kmto add the time unit to the x-axis label.
Miscellaneous
- Removed redundant
Analysis Data:label from Encodings Panel. - Removed limit requiring 15 or fewer columns for tabulation modules. New upper threshold is 100 columns.
- Decreased the lower limit for number of observations required by modules. Safety tables require at least one record. Requirements for efficacy outputs per treatment group:
tm_a_mmrmrequires five records,tm_t_logisticandtm_t_coxregrequire two records, and the remaining modules require at least one record per treatment group. For graphs, the lower threshold is two records. - Removed argument
cnsr_valfromtm_t_events_patyearand added new argumentevents_var. -
arm_ref_comp_observerto includeparentnameargument. - Show R code to include datasets retrieved from
data_extract_specobjects. - Refactored out the
stringrdependency from the patient profile module. - Added missing table calls in chunks for
tm_t_eventsandtm_t_events_by_grade.
teal.modules.clinical 0.8.6
New Features
- Added new module
tm_g_cifor confidence interval plots. - Added new module
tm_t_ancovafor analysis of variance summary tables. - Added new module
tm_t_mult_eventsfor multi-event tables.
Enhancements
- Refactored all modules using the redesigned
rtablesandternpackages. - Enhanced modules. They now take advantage of
data_extract_specanddata_merge_modulefunctionality fromteal. - Reduced clutter from repeated datasets in the encodings panels.
- Updated all modules to use
OptionalSelectInputforconf_level.
teal.modules.clinical 0.8.5
- All graph modules now accept a
plot_widthargument which specifies the plot width and renders a slider to adjust the width interactively in the module. -
FilteredDataobject is now passed toarm_ref_comp_observerand modules now support nested lists containingdelayed_dataobjects. - Replace
plot_with_heightmodule with newplot_with_settingsmodule. - Update examples to use
codeargument insidecdisc_dataset.
teal.modules.clinical 0.8.4
- Extend
tm_t_coxregto optionally produce univariate Cox regressions. - Updated
tm_t_binary_outcometo display Odds Ratio estimates, include new methods for CIs and p-values and display a summary for individual response categories. - Updated
tm_t_tteto optionally compare between arms, removedconf_levelargument. - Updated
tm_g_kmto optionally compare between arms. - Extend
tm_g_kmto optionally scale X axis range in case of more than one plot. - New
tm_a_mmrmforMMRManalysis. - Deprecated
tm_t_mmrm(superseded bytm_a_mmrm).
teal.modules.clinical 0.8.3
- New
tm_t_coxregmodule for multi-variable Cox regressions. - New
tm_t_binary_outcomemodule. - New
tm_t_events_patyearmodule: events rate adjusted for patient-year at risk table. - Remove
grade_levelsargument fromtm_t_events_by_grade. - Updated response table for single arm.
- New
tm_t_abnormalitymodule. - Removed
get_relabel_callandget_relabel_call2in favor ofteal.devel::get_relabel_callandteal.devel::get_anl_relabel_call.
teal.modules.clinical 0.8.2
- Add confidence level for
survfit,coxph,ztest; add confidence type, ties, percentiles totm_t_tte. - Optionally use a single term in
tm_t_eventsandtm_t_events_by_grademodules. - New
tm_t_logisticmodule. - New
tm_t_mmrmmodule. - New modules
tm_t_summary_byandtm_t_events_summary. - Add stratified analysis to
tm_g_forest_tteandtm_g_forest_rsp. - Add confidence level and plotting symbol size options to
tm_g_forest_rspandtm_g_forest_tte.