Skip to contents

Creates waterfall and spider plots to visualize tumor response data following RECIST criteria

Value

A list containing plot object and summary statistics

Super classes

jmvcore::Analysis -> ClinicoPathDescriptives::waterfallBase -> waterfallClass

Examples

data <- data.frame(
  PatientID = paste0("PT", 1:10),
  Response = c(-100, -45, -30, -20, -10, 0, 10, 20, 30, 40),
  Time = c(1,2,3,4,5,6,7,8,9,10)
)
waterfall(data, "PatientID", "Response", "Time")
#> 
#>  TREATMENT RESPONSE ANALYSIS
#> 
#>  Response Categories Based on RECIST v1.1 Criteria 
#>  ───────────────────────────────────────────────── 
#>    Category    Number of Patients    Percentage   
#>  ───────────────────────────────────────────────── 
#>    CR     ᵃ                     1           10%   
#>    PR     ᵇ                     2           20%   
#>    SD     ᵈ                     5           50%   
#>    PD     ᵉ                     2           20%   
#>  ───────────────────────────────────────────────── 
#>    ᵃ Complete Response (CR): Complete
#>    disappearance of all target lesions.
#>    ᵇ Partial Response (PR): At least 30%
#>    decrease in sum of target lesions.
#>    ᵈ Stable Disease (SD): Neither PR nor PD
#>    criteria met.
#>    ᵉ Progressive Disease (PD): At least 20%
#>    increase in sum of target lesions.
#> 
#> 
#>  Clinical Response Metrics                    
#>  ──────────────────────────────────────────── 
#>    Metric                             Value   
#>  ──────────────────────────────────────────── 
#>    Objective Response Rate (CR+PR)    30%     
#>    Disease Control Rate (CR+PR+SD)    80%     
#>  ──────────────────────────────────────────── 
#>