summarize_cycle_progression: Plot a cycle-specific summary graph of maintenance therapy...

View source: R/summarize_cycle_progression.R

summarize_cycle_progressionR 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".

  • "million" = million cells/L (x10^{6} cells/L or cells/\mul)

  • "billion" = billion cells/L (x10^{9} cells/L or x10^{3} cells/\mul)

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

plot_progression()

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")




allMT documentation built on April 21, 2023, 1:08 a.m.