assess_reduced_doses {allMT} | R Documentation |
Analyze physicians' compliance to dosing guidelines: REDUCE DOSE
Description
Evaluate number of times blood counts did not support physicians' REDUCE DOSE decision
Usage
assess_reduced_doses(
input_files_path,
anc_range = NA,
plt_range = NA,
hb_range = NA,
reduction_factor
)
Arguments
input_files_path |
path to a file or a folder with MT csv files (in quotes). |
anc_range |
Absolute neutrophil count (ANC) range between which doses should be reduce. NOTE: Ensure that values are represented with same unit as of the input ANC data. |
plt_range |
Platelet (PLT) range between which doses should be reduce. NOTE: Ensure that values are represented with same unit as of the input PLT data. |
hb_range |
Hemoglobin (HB) range between which doses should be stopped. NOTE: Ensure that values are represented with same unit as of the input Hb data. |
reduction_factor |
Percentage of 6MP starting dose (first visit dose) dose that will be called as "reduced" dose. Default = 50% of starting dose. |
Value
Returns a list with (1) the 'REDUCE DOSE' analysis for each patient as listed below, (2) analysis summary as dataframe (3) analysis summary as HTML table in viewer.
Pat ID
Number of decisions where the physician reduced dose (a)
Number of times blood counts did not support dose reduction (b)
Discordance (%) = (
(b/a)*100)
#' @note
Atleast one of the threshold parameters (anc_threshold, plt_threshold, hb_threshold) must be provided to carry out analysis. Missing threshold parameter will not be considered.
If the function is used for cohort analysis then a and b will be represented as median and interquartile range (IQR) (25%-75%). The median and IQR is rounded off to upper integer value if decimal value is greater or equal to 0.5, else to lower integer value Example 1.4->1 and 3.75->4
User may save the result as a list, if required, to analyze each patient separately - use 1st element of list. Please refer to examples from assess_anemia
See Also
assess_stop_doses()
, assess_increased_doses()
Examples
pat_data <- system.file("extdata/processed_data/", "UPN_915.csv", package = "allMT")
assess_reduced_doses(input_files_path = pat_data,
anc_range = c(0.5,0.75), plt_range = c(50,75),
hb_range = c(7,8), reduction_factor = 50)
cohort_path = paste0(system.file("extdata/processed_data/", package = "allMT"), "/")
assess_reduced_doses(input_files_path = cohort_path,
anc_range = c(0.5,0.75), plt_range = c(50,75),
hb_range = c(7,8), reduction_factor = 50)