summarize_cohortMT {allMT} | R Documentation |
Plot summarized maintenance therapy (MT) data for a cohort
Description
Create an integrated summary graph illustrating weighted mean absolute neutrophil count (ANC) and dose information for each patient in the cohort.
Usage
summarize_cohortMT(input_files_path, anc_range, unit, dose_intensity_threshold)
Arguments
input_files_path |
Path to folder with MT csv files (in quotes) |
anc_range |
ANC target range as per the protocol: (c(lower threshold, upper threshold)). NOTE: Ensure that units are the same as unit of ANC in the input data. |
unit |
Choose either "million" or "billion".
|
dose_intensity_threshold |
numeric value of reference drug dose intensity (%). (optional) |
Value
Summary graph
Note
If there is only one threshold for anc_range or dose_intensity_range parameters, please specify the respective value and keep the other threshold as NA. eg : c(2000, NA), c(100, NA)
Horizontal dotted lines on the graph indicate anc_range thresholds.Red dot represents summarized overall MT data.
See Also
Examples
cohort_path = paste0(system.file("extdata/processed_data/", package = "allMT"), "/")
summarize_cohortMT (input_files_path = cohort_path, unit = "billion",
anc_range = c(0.75, 1.5), dose_intensity_threshold = c(80, 100))
summarize_cohortMT(input_files_path = cohort_path,
unit = "billion", anc_range = c(0.8, 2), dose_intensity_threshold = 150)
# As per BFM protocol (Reference PMID - 15902295):
summarize_cohortMT (input_files_path = cohort_path,
unit = "billion", anc_range = c(2, NA), dose_intensity_threshold = 150)
# As per St Jude protocol (Reference PMID - 15902295):
summarize_cohortMT (input_files_path = cohort_path,
unit = "billion", anc_range = c(0.8, 2), dose_intensity_threshold = 100)