summarize_cycle_progression {allMT} | R Documentation |
Plot a cycle-specific summary graph of maintenance therapy (MT) data for single patient
Description
Create summary graph with maintenance therapy data. Weighted mean absolute neutrophil count (ANC) and dose information is calculated and plotted for each cycle.
Usage
summarize_cycle_progression(input_file_path, anc_range, unit)
Arguments
input_file_path |
Path to input csv file for the patient (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".
|
Value
Plot image
Note
If there is only one threshold for anc_range parameter, please specify the respective value and keep the other threshold as NA. eg : c(2000, NA)
Horizontal dotted lines on the graph indicate anc_range thresholds.Red dot represents summarized overall MT data.
See Also
Examples
pat_data = system.file("extdata/processed_data/", "UPN_916.csv", package = "allMT")
summarize_cycle_progression(input_file_path = pat_data, anc_range = c(0.75, 1.5),
unit = "billion")
summarize_cycle_progression(input_file_path = pat_data,
anc_range = c(0.8, 2), unit = "billion")
# As per BFM protocol (Reference PMID - 15902295):
summarize_cycle_progression(input_file_path = pat_data,
anc_range = c(2, NA),
unit = "billion")
# As per St Jude protocol (Reference PMID - 15902295):
summarize_cycle_progression(input_file_path = pat_data,
anc_range = c(0.8, 2),
unit = "billion")