diff --git a/NEWS.md b/NEWS.md index c8c2415d3a..7aec962f7d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,10 @@ * Added `keep_level_order` split function to retain original order of levels in a split. * Added `level_order` split function to reorder manually the levels. +### Enhancements +* Added `ref_group_coxph` parameter to `g_km` to specify the reference group used for pairwise Cox-PH calculations when `annot_coxph = TRUE`. +* Added `annot_coxph_ref_lbls` parameter to `g_km` to enable printing the reference group in table labels when `annot_coxph = TRUE`. + ### Miscellaneous * Specified minimal version of package dependencies. diff --git a/R/kaplan_meier_plot.R b/R/kaplan_meier_plot.R index 3ee070afde..a649c79683 100644 --- a/R/kaplan_meier_plot.R +++ b/R/kaplan_meier_plot.R @@ -61,6 +61,10 @@ #' * `ties` (`string`)\cr method for tie handling. Default is `"efron"`, #' can also be set to `"breslow"` or `"exact"`. See more in [survival::coxph()] #' * `conf_level` (`proportion`)\cr confidence level of the interval for HR. +#' @param ref_group_coxph (`character`)\cr level of arm variable to use as reference group in calculations for +#' `annot_coxph` table. If `NULL` (default), uses the first level of the arm variable. +#' @param annot_coxph_ref_lbls (`flag`)\cr whether the reference group should be explicitly printed in labels for the +#' `annot_coxph` table. If `FALSE` (default), only comparison groups will be printed in `annot_coxph` table labels. #' @param position_coxph (`numeric`)\cr x and y positions for plotting [survival::coxph()] model. #' @param position_surv_med (`numeric`)\cr x and y positions for plotting annotation table estimating median survival #' time per group. @@ -204,6 +208,8 @@ g_km <- function(df, annot_stats = NULL, annot_stats_vlines = FALSE, control_coxph_pw = control_coxph(), + ref_group_coxph = NULL, + annot_coxph_ref_lbls = FALSE, position_coxph = c(-0.03, -0.02), position_surv_med = c(0.95, 0.9), width_annots = list(surv_med = grid::unit(0.3, "npc"), coxph = grid::unit(0.4, "npc"))) { @@ -383,6 +389,8 @@ g_km <- function(df, df = df, variables = variables, control_coxph_pw = control_coxph_pw, + ref_group_coxph = ref_group_coxph, + annot_coxph_ref_lbls = annot_coxph_ref_lbls, x = position_coxph[1], y = position_coxph[2], width = if (!is.null(width_annots[["coxph"]])) width_annots[["coxph"]] else grid::unit(0.4, "npc"), @@ -1348,12 +1356,19 @@ h_grob_y_annot <- function(ylab, yaxis) { #' @export h_tbl_coxph_pairwise <- function(df, variables, - control_coxph_pw = control_coxph()) { + ref_group_coxph = NULL, + control_coxph_pw = control_coxph(), + annot_coxph_ref_lbls = FALSE) { assert_df_with_variables(df, variables) + checkmate::assert_choice(ref_group_coxph, levels(df[[variables$arm]]), null.ok = TRUE) + checkmate::assert_flag(annot_coxph_ref_lbls) + arm <- variables$arm df[[arm]] <- factor(df[[arm]]) - ref_group <- levels(df[[arm]])[1] - comp_group <- levels(df[[arm]])[-1] + + ref_group <- if (!is.null(ref_group_coxph)) ref_group_coxph else levels(df[[variables$arm]])[1] + comp_group <- setdiff(levels(df[[arm]]), ref_group) + results <- Map(function(comp) { res <- s_coxph_pairwise( df = df[df[[arm]] == comp, , drop = FALSE], @@ -1377,6 +1392,8 @@ h_tbl_coxph_pairwise <- function(df, row.names(res_df) <- comp res_df }, comp_group) + if (annot_coxph_ref_lbls) names(results) <- paste(comp_group, "vs.", ref_group) + do.call(rbind, results) } diff --git a/man/g_km.Rd b/man/g_km.Rd index ae63d76b86..487d755c5b 100644 --- a/man/g_km.Rd +++ b/man/g_km.Rd @@ -37,6 +37,8 @@ g_km( annot_stats = NULL, annot_stats_vlines = FALSE, control_coxph_pw = control_coxph(), + ref_group_coxph = NULL, + annot_coxph_ref_lbls = FALSE, position_coxph = c(-0.03, -0.02), position_surv_med = c(0.95, 0.9), width_annots = list(surv_med = grid::unit(0.3, "npc"), coxph = grid::unit(0.4, "npc")) @@ -143,6 +145,12 @@ can also be set to \code{"breslow"} or \code{"exact"}. See more in \code{\link[s \item \code{conf_level} (\code{proportion})\cr confidence level of the interval for HR. }} +\item{ref_group_coxph}{(\code{character})\cr level of arm variable to use as reference group in calculations for +\code{annot_coxph} table. If \code{NULL} (default), uses the first level of the arm variable.} + +\item{annot_coxph_ref_lbls}{(\code{flag})\cr whether the reference group should be explicitly printed in labels for the +\code{annot_coxph} table. If \code{FALSE} (default), only comparison groups will be printed in \code{annot_coxph} table labels.} + \item{position_coxph}{(\code{numeric})\cr x and y positions for plotting \code{\link[survival:coxph]{survival::coxph()}} model.} \item{position_surv_med}{(\code{numeric})\cr x and y positions for plotting annotation table estimating median survival diff --git a/man/h_tbl_coxph_pairwise.Rd b/man/h_tbl_coxph_pairwise.Rd index af1ddaac9f..025b397000 100644 --- a/man/h_tbl_coxph_pairwise.Rd +++ b/man/h_tbl_coxph_pairwise.Rd @@ -4,7 +4,13 @@ \alias{h_tbl_coxph_pairwise} \title{Helper Function: Pairwise \code{CoxPH} table} \usage{ -h_tbl_coxph_pairwise(df, variables, control_coxph_pw = control_coxph()) +h_tbl_coxph_pairwise( + df, + variables, + ref_group_coxph = NULL, + control_coxph_pw = control_coxph(), + annot_coxph_ref_lbls = FALSE +) } \arguments{ \item{df}{(\code{data.frame})\cr data set containing all analysis variables.} @@ -17,6 +23,9 @@ h_tbl_coxph_pairwise(df, variables, control_coxph_pw = control_coxph()) \item \code{strat} (\code{character} or \code{NULL})\cr variable names indicating stratification factors. }} +\item{ref_group_coxph}{(\code{character})\cr level of arm variable to use as reference group in calculations for +\code{annot_coxph} table. If \code{NULL} (default), uses the first level of the arm variable.} + \item{control_coxph_pw}{(\code{list})\cr parameters for comparison details, specified by using the helper function \code{\link[=control_coxph]{control_coxph()}}. Some possible parameter options are: \itemize{ @@ -26,6 +35,9 @@ Default method is \code{"log-rank"}, can also be set to \code{"wald"} or \code{" can also be set to \code{"breslow"} or \code{"exact"}. See more in \code{\link[survival:coxph]{survival::coxph()}} \item \code{conf_level} (\code{proportion})\cr confidence level of the interval for HR. }} + +\item{annot_coxph_ref_lbls}{(\code{flag})\cr whether the reference group should be explicitly printed in labels for the +\code{annot_coxph} table. If \code{FALSE} (default), only comparison groups will be printed in \code{annot_coxph} table labels.} } \value{ A \code{data.frame} containing statistics \code{HR}, \verb{XX\% CI} (\code{XX} taken from \code{control_coxph_pw}), diff --git a/tests/testthat/_snaps/g_km/g-km-ref-group-coxph.svg b/tests/testthat/_snaps/g_km/g-km-ref-group-coxph.svg new file mode 100644 index 0000000000..ea7c449acd --- /dev/null +++ b/tests/testthat/_snaps/g_km/g-km-ref-group-coxph.svg @@ -0,0 +1,657 @@ +<?xml version='1.0' encoding='UTF-8' ?> +<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' class='svglite' data-engine-version='2.0' width='720.00pt' height='576.00pt' viewBox='0 0 720.00 576.00'> +<defs> + <style type='text/css'><![CDATA[ + .svglite line, .svglite polyline, .svglite polygon, .svglite path, .svglite rect, .svglite circle { + fill: none; + stroke: #000000; + stroke-linecap: round; + stroke-linejoin: round; + stroke-miterlimit: 10.00; + } + ]]></style> +</defs> +<rect width='100%' height='100%' style='stroke: none; fill: #FFFFFF;'/> +<defs> + <clipPath id='cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA='> + <rect x='0.00' y='0.00' width='720.00' height='576.00' /> + </clipPath> +</defs> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNjMuNjR8NzAyLjAwfDE0LjQwfDQxOS42OA=='> + <rect x='63.64' y='14.40' width='638.36' height='405.28' /> + </clipPath> +</defs> +<g clip-path='url(#cpNjMuNjR8NzAyLjAwfDE0LjQwfDQxOS42OA==)'> +<polyline points='92.65,419.68 92.65,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<polyline points='208.72,419.68 208.72,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<polyline points='324.79,419.68 324.79,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<polyline points='440.85,419.68 440.85,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<polyline points='556.92,419.68 556.92,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<polyline points='672.98,419.68 672.98,14.40 ' style='stroke-width: 4.27; stroke: #FFFFFF; stroke-linecap: butt;' /> +<line x1='63.64' y1='401.26' x2='702.00' y2='401.26' style='stroke-width: 1.07; stroke-linecap: butt;' /> +<polyline points='92.65,32.82 93.86,32.82 93.86,38.16 95.04,38.16 95.04,43.50 95.15,43.50 95.15,48.84 95.59,48.84 95.59,48.84 98.23,48.84 98.23,54.26 100.38,54.26 100.38,54.26 101.23,54.26 101.23,54.26 101.81,54.26 101.81,54.26 103.14,54.26 103.14,59.95 104.29,59.95 104.29,65.64 105.19,65.64 105.19,71.33 106.14,71.33 106.14,77.02 112.24,77.02 112.24,82.70 115.65,82.70 115.65,82.70 115.93,82.70 115.93,88.50 122.84,88.50 122.84,88.50 128.45,88.50 128.45,94.40 133.27,94.40 133.27,100.30 133.94,100.30 133.94,100.30 136.01,100.30 136.01,106.32 136.97,106.32 136.97,112.34 140.11,112.34 140.11,118.36 141.11,118.36 141.11,118.36 151.39,118.36 151.39,118.36 152.16,118.36 152.16,124.64 154.03,124.64 154.03,130.93 158.22,130.93 158.22,130.93 158.84,130.93 158.84,130.93 162.74,130.93 162.74,137.52 163.34,137.52 163.34,137.52 165.26,137.52 165.26,144.28 165.46,144.28 165.46,144.28 165.90,144.28 165.90,151.23 168.53,151.23 168.53,158.18 169.34,158.18 169.34,165.12 172.19,165.12 172.19,172.07 172.39,172.07 172.39,179.01 182.94,179.01 182.94,185.96 185.15,185.96 185.15,192.90 187.18,192.90 187.18,199.85 194.24,199.85 194.24,199.85 196.87,199.85 196.87,199.85 197.68,199.85 197.68,199.85 203.40,199.85 203.40,207.59 204.49,207.59 204.49,207.59 204.57,207.59 204.57,215.66 205.78,215.66 205.78,223.73 208.99,223.73 208.99,223.73 210.61,223.73 210.61,232.18 213.31,232.18 213.31,240.64 229.30,240.64 229.30,249.09 230.60,249.09 230.60,249.09 242.89,249.09 242.89,249.09 256.96,249.09 256.96,258.60 261.07,258.60 261.07,258.60 265.12,258.60 265.12,258.60 266.85,258.60 266.85,269.58 271.10,269.58 271.10,269.58 275.77,269.58 275.77,269.58 281.29,269.58 281.29,282.74 285.87,282.74 285.87,295.91 296.91,295.91 296.91,309.08 317.04,309.08 317.04,309.08 323.26,309.08 323.26,324.44 326.91,324.44 326.91,339.80 400.75,339.80 400.75,355.17 421.33,355.17 421.33,370.53 439.08,370.53 439.08,385.89 641.99,385.89 641.99,401.26 ' style='stroke-width: 1.07; stroke: #343CFF; stroke-linecap: butt;' /> +<polyline points='92.65,32.82 92.91,32.82 92.91,37.87 94.61,37.87 94.61,42.92 95.27,42.92 95.27,47.96 95.70,47.96 95.70,53.01 99.32,53.01 99.32,58.06 101.94,58.06 101.94,63.10 102.12,63.10 102.12,68.15 102.94,68.15 102.94,73.20 104.45,73.20 104.45,78.24 104.62,78.24 104.62,83.29 107.11,83.29 107.11,88.34 109.65,88.34 109.65,93.39 112.54,93.39 112.54,98.43 114.27,98.43 114.27,103.48 114.41,103.48 114.41,103.48 116.14,103.48 116.14,108.61 118.69,108.61 118.69,113.75 119.58,113.75 119.58,118.88 120.78,118.88 120.78,124.02 122.00,124.02 122.00,124.02 127.36,124.02 127.36,129.25 131.62,129.25 131.62,134.48 132.82,134.48 132.82,134.48 135.01,134.48 135.01,134.48 135.64,134.48 135.64,139.92 135.80,139.92 135.80,139.92 136.36,139.92 136.36,145.48 137.77,145.48 137.77,151.04 140.67,151.04 140.67,156.60 140.72,156.60 140.72,156.60 142.35,156.60 142.35,156.60 144.44,156.60 144.44,162.43 150.09,162.43 150.09,162.43 151.62,162.43 151.62,168.40 153.67,168.40 153.67,174.37 157.16,174.37 157.16,180.34 159.29,180.34 159.29,186.31 161.07,186.31 161.07,192.28 161.50,192.28 161.50,192.28 162.20,192.28 162.20,198.43 168.66,198.43 168.66,204.57 176.51,204.57 176.51,210.72 176.55,210.72 176.55,216.87 177.13,216.87 177.13,223.01 177.60,223.01 177.60,229.16 178.02,229.16 178.02,235.31 180.93,235.31 180.93,235.31 190.62,235.31 190.62,241.69 192.35,241.69 192.35,248.07 195.78,248.07 195.78,254.45 196.61,254.45 196.61,254.45 206.22,254.45 206.22,261.13 208.74,261.13 208.74,267.80 221.08,267.80 221.08,267.80 226.79,267.80 226.79,274.82 228.66,274.82 228.66,281.85 231.33,281.85 231.33,288.87 237.12,288.87 237.12,295.90 238.57,295.90 238.57,302.92 240.97,302.92 240.97,309.94 243.48,309.94 243.48,316.97 243.78,316.97 243.78,323.99 266.42,323.99 266.42,323.99 273.16,323.99 273.16,331.72 274.09,331.72 274.09,331.72 279.01,331.72 279.01,340.41 281.35,340.41 281.35,349.10 305.14,349.10 305.14,349.10 331.41,349.10 331.41,359.53 358.46,359.53 358.46,369.96 371.44,369.96 371.44,369.96 489.52,369.96 489.52,385.61 637.01,385.61 637.01,401.26 ' style='stroke-width: 1.07; stroke: #FF484B; stroke-linecap: butt;' /> +<polyline points='92.65,32.82 94.87,32.82 94.87,39.17 95.62,39.17 95.62,45.53 95.80,45.53 95.80,51.88 96.08,51.88 96.08,58.23 96.28,58.23 96.28,64.58 100.03,64.58 100.03,70.94 100.66,70.94 100.66,77.29 102.07,77.29 102.07,83.64 104.51,83.64 104.51,83.64 105.14,83.64 105.14,90.12 106.29,90.12 106.29,96.60 107.17,96.60 107.17,96.60 109.78,96.60 109.78,103.23 110.18,103.23 110.18,109.85 112.62,109.85 112.62,116.47 115.25,116.47 115.25,123.10 118.48,123.10 118.48,129.72 120.94,129.72 120.94,129.72 123.31,129.72 123.31,136.51 127.76,136.51 127.76,143.30 128.34,143.30 128.34,150.08 130.83,150.08 130.83,156.87 131.56,156.87 131.56,156.87 133.17,156.87 133.17,156.87 134.47,156.87 134.47,164.06 135.10,164.06 135.10,164.06 137.85,164.06 137.85,164.06 138.07,164.06 138.07,171.71 138.27,171.71 138.27,179.36 138.42,179.36 138.42,187.01 142.04,187.01 142.04,194.67 145.68,194.67 145.68,202.32 146.54,202.32 146.54,202.32 148.63,202.32 148.63,202.32 159.05,202.32 159.05,210.61 159.21,210.61 159.21,210.61 166.04,210.61 166.04,219.27 166.07,219.27 166.07,219.27 167.19,219.27 167.19,228.37 176.05,228.37 176.05,228.37 180.11,228.37 180.11,237.98 180.52,237.98 180.52,247.58 181.57,247.58 181.57,247.58 183.61,247.58 183.61,257.83 184.00,257.83 184.00,268.07 184.59,268.07 184.59,278.32 186.26,278.32 186.26,278.32 208.86,278.32 208.86,289.49 221.03,289.49 221.03,300.67 223.73,300.67 223.73,311.84 229.49,311.84 229.49,311.84 231.38,311.84 231.38,324.62 234.07,324.62 234.07,324.62 260.35,324.62 260.35,339.94 260.83,339.94 260.83,355.27 267.82,355.27 267.82,355.27 277.63,355.27 277.63,355.27 377.72,355.27 377.72,401.26 ' style='stroke-width: 1.07; stroke: #232323; stroke-linecap: butt;' /> +<line x1='92.08' y1='48.84' x2='99.11' y2='48.84' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='95.59' y1='52.36' x2='95.59' y2='45.32' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='96.86' y1='54.26' x2='103.90' y2='54.26' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='100.38' y1='57.78' x2='100.38' y2='50.74' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='97.71' y1='54.26' x2='104.75' y2='54.26' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='101.23' y1='57.78' x2='101.23' y2='50.74' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='98.29' y1='54.26' x2='105.33' y2='54.26' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='101.81' y1='57.78' x2='101.81' y2='50.74' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='112.13' y1='82.70' x2='119.17' y2='82.70' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='115.65' y1='86.22' x2='115.65' y2='79.19' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='119.32' y1='88.50' x2='126.36' y2='88.50' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='122.84' y1='92.02' x2='122.84' y2='84.98' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='130.42' y1='100.30' x2='137.46' y2='100.30' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='133.94' y1='103.82' x2='133.94' y2='96.78' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='137.59' y1='118.36' x2='144.63' y2='118.36' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='141.11' y1='121.87' x2='141.11' y2='114.84' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='147.88' y1='118.36' x2='154.91' y2='118.36' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='151.39' y1='121.87' x2='151.39' y2='114.84' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='154.70' y1='130.93' x2='161.74' y2='130.93' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='158.22' y1='134.45' x2='158.22' y2='127.41' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='155.32' y1='130.93' x2='162.35' y2='130.93' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='158.84' y1='134.45' x2='158.84' y2='127.41' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='159.82' y1='137.52' x2='166.86' y2='137.52' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='163.34' y1='141.04' x2='163.34' y2='134.00' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='161.95' y1='144.28' x2='168.98' y2='144.28' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='165.46' y1='147.80' x2='165.46' y2='140.77' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='190.72' y1='199.85' x2='197.76' y2='199.85' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='194.24' y1='203.36' x2='194.24' y2='196.33' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='193.35' y1='199.85' x2='200.39' y2='199.85' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='196.87' y1='203.36' x2='196.87' y2='196.33' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='194.16' y1='199.85' x2='201.20' y2='199.85' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='197.68' y1='203.36' x2='197.68' y2='196.33' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='200.97' y1='207.59' x2='208.01' y2='207.59' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='204.49' y1='211.11' x2='204.49' y2='204.07' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='205.47' y1='223.73' x2='212.51' y2='223.73' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='208.99' y1='227.25' x2='208.99' y2='220.21' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='227.08' y1='249.09' x2='234.12' y2='249.09' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='230.60' y1='252.61' x2='230.60' y2='245.57' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='239.38' y1='249.09' x2='246.41' y2='249.09' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='242.89' y1='252.61' x2='242.89' y2='245.57' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='257.55' y1='258.60' x2='264.59' y2='258.60' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='261.07' y1='262.12' x2='261.07' y2='255.08' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='261.60' y1='258.60' x2='268.64' y2='258.60' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='265.12' y1='262.12' x2='265.12' y2='255.08' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='267.58' y1='269.58' x2='274.62' y2='269.58' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='271.10' y1='273.09' x2='271.10' y2='266.06' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='272.25' y1='269.58' x2='279.29' y2='269.58' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='275.77' y1='273.09' x2='275.77' y2='266.06' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='313.52' y1='309.08' x2='320.56' y2='309.08' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='317.04' y1='312.60' x2='317.04' y2='305.56' style='stroke-width: 0.71; stroke: #343CFF;' /> +<line x1='110.89' y1='103.48' x2='117.93' y2='103.48' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='114.41' y1='107.00' x2='114.41' y2='99.96' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='118.48' y1='124.02' x2='125.52' y2='124.02' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='122.00' y1='127.54' x2='122.00' y2='120.50' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='129.30' y1='134.48' x2='136.33' y2='134.48' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='132.82' y1='138.00' x2='132.82' y2='130.96' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='131.49' y1='134.48' x2='138.53' y2='134.48' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='135.01' y1='138.00' x2='135.01' y2='130.96' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='132.28' y1='139.92' x2='139.32' y2='139.92' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='135.80' y1='143.44' x2='135.80' y2='136.40' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='137.20' y1='156.60' x2='144.24' y2='156.60' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='140.72' y1='160.12' x2='140.72' y2='153.08' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='138.84' y1='156.60' x2='145.87' y2='156.60' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='142.35' y1='160.12' x2='142.35' y2='153.08' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='146.57' y1='162.43' x2='153.61' y2='162.43' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='150.09' y1='165.95' x2='150.09' y2='158.91' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='157.98' y1='192.28' x2='165.02' y2='192.28' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='161.50' y1='195.80' x2='161.50' y2='188.76' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='177.41' y1='235.31' x2='184.44' y2='235.31' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='180.93' y1='238.82' x2='180.93' y2='231.79' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='193.09' y1='254.45' x2='200.13' y2='254.45' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='196.61' y1='257.97' x2='196.61' y2='250.93' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='217.56' y1='267.80' x2='224.60' y2='267.80' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='221.08' y1='271.32' x2='221.08' y2='264.28' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='262.90' y1='323.99' x2='269.94' y2='323.99' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='266.42' y1='327.51' x2='266.42' y2='320.47' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='270.57' y1='331.72' x2='277.61' y2='331.72' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='274.09' y1='335.24' x2='274.09' y2='328.20' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='301.62' y1='349.10' x2='308.66' y2='349.10' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='305.14' y1='352.62' x2='305.14' y2='345.58' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='367.92' y1='369.96' x2='374.96' y2='369.96' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='371.44' y1='373.48' x2='371.44' y2='366.44' style='stroke-width: 0.71; stroke: #FF484B;' /> +<line x1='100.99' y1='83.64' x2='108.03' y2='83.64' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='104.51' y1='87.16' x2='104.51' y2='80.12' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='103.65' y1='96.60' x2='110.69' y2='96.60' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='107.17' y1='100.12' x2='107.17' y2='93.08' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='117.42' y1='129.72' x2='124.46' y2='129.72' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='120.94' y1='133.24' x2='120.94' y2='126.20' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='128.04' y1='156.87' x2='135.08' y2='156.87' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='131.56' y1='160.39' x2='131.56' y2='153.35' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='129.65' y1='156.87' x2='136.69' y2='156.87' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='133.17' y1='160.39' x2='133.17' y2='153.35' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='131.58' y1='164.06' x2='138.62' y2='164.06' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='135.10' y1='167.58' x2='135.10' y2='160.54' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='134.33' y1='164.06' x2='141.37' y2='164.06' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='137.85' y1='167.58' x2='137.85' y2='160.54' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='143.02' y1='202.32' x2='150.06' y2='202.32' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='146.54' y1='205.84' x2='146.54' y2='198.80' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='145.12' y1='202.32' x2='152.15' y2='202.32' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='148.63' y1='205.84' x2='148.63' y2='198.80' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='155.69' y1='210.61' x2='162.73' y2='210.61' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='159.21' y1='214.13' x2='159.21' y2='207.09' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='162.55' y1='219.27' x2='169.59' y2='219.27' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='166.07' y1='222.79' x2='166.07' y2='215.75' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='172.54' y1='228.37' x2='179.57' y2='228.37' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='176.05' y1='231.89' x2='176.05' y2='224.85' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='178.05' y1='247.58' x2='185.08' y2='247.58' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='181.57' y1='251.10' x2='181.57' y2='244.06' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='182.75' y1='278.32' x2='189.78' y2='278.32' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='186.26' y1='281.83' x2='186.26' y2='274.80' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='225.97' y1='311.84' x2='233.01' y2='311.84' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='229.49' y1='315.36' x2='229.49' y2='308.33' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='230.56' y1='324.62' x2='237.59' y2='324.62' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='234.07' y1='328.14' x2='234.07' y2='321.10' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='264.30' y1='355.27' x2='271.34' y2='355.27' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='267.82' y1='358.79' x2='267.82' y2='351.75' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='274.11' y1='355.27' x2='281.15' y2='355.27' style='stroke-width: 0.71; stroke: #232323;' /> +<line x1='277.63' y1='358.79' x2='277.63' y2='351.75' style='stroke-width: 0.71; stroke: #232323;' /> +<rect x='63.64' y='14.40' width='638.36' height='405.28' style='stroke-width: 2.13; stroke: #BEBEBE;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTMzLjI4fDU2OC40NXwzMy4zM3w0NS45Mw=='> + <rect x='533.28' y='33.33' width='35.16' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXwzMy4zM3w0NS45Mw==)'> +<rect x='533.28' y='33.33' width='35.16' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTMzLjI4fDU2OC40NXw0NS45M3w1OC41Mw=='> + <rect x='533.28' y='45.93' width='35.16' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw0NS45M3w1OC41Mw==)'> +<rect x='533.28' y='45.93' width='35.16' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTMzLjI4fDU2OC40NXw1OC41M3w3MS4xMw=='> + <rect x='533.28' y='58.53' width='35.16' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw1OC41M3w3MS4xMw==)'> +<rect x='533.28' y='58.53' width='35.16' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTMzLjI4fDU2OC40NXw3MS4xM3w4My43Mw=='> + <rect x='533.28' y='71.13' width='35.16' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw3MS4xM3w4My43Mw==)'> +<rect x='533.28' y='71.13' width='35.16' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTY4LjQ1fDU4NC4yMHwzMy4zM3w0NS45Mw=='> + <rect x='568.45' y='33.33' width='15.75' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHwzMy4zM3w0NS45Mw==)'> +<rect x='568.45' y='33.33' width='15.75' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTg0LjIwfDYyMC40MnwzMy4zM3w0NS45Mw=='> + <rect x='584.20' y='33.33' width='36.22' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTg0LjIwfDYyMC40MnwzMy4zM3w0NS45Mw==)'> +<rect x='584.20' y='33.33' width='36.22' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNjIwLjQyfDY4NC40OHwzMy4zM3w0NS45Mw=='> + <rect x='620.42' y='33.33' width='64.06' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHwzMy4zM3w0NS45Mw==)'> +<rect x='620.42' y='33.33' width='64.06' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTY4LjQ1fDU4NC4yMHw0NS45M3w1OC41Mw=='> + <rect x='568.45' y='45.93' width='15.75' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw0NS45M3w1OC41Mw==)'> +<rect x='568.45' y='45.93' width='15.75' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTY4LjQ1fDU4NC4yMHw1OC41M3w3MS4xMw=='> + <rect x='568.45' y='58.53' width='15.75' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw1OC41M3w3MS4xMw==)'> +<rect x='568.45' y='58.53' width='15.75' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #E5E5E5;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTY4LjQ1fDU4NC4yMHw3MS4xM3w4My43Mw=='> + <rect x='568.45' y='71.13' width='15.75' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw3MS4xM3w4My43Mw==)'> +<rect x='568.45' y='71.13' width='15.75' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTg0LjIwfDYyMC40Mnw0NS45M3w1OC41Mw=='> + <rect x='584.20' y='45.93' width='36.22' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw0NS45M3w1OC41Mw==)'> +<rect x='584.20' y='45.93' width='36.22' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTg0LjIwfDYyMC40Mnw1OC41M3w3MS4xMw=='> + <rect x='584.20' y='58.53' width='36.22' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw1OC41M3w3MS4xMw==)'> +<rect x='584.20' y='58.53' width='36.22' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #E5E5E5;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTg0LjIwfDYyMC40Mnw3MS4xM3w4My43Mw=='> + <rect x='584.20' y='71.13' width='36.22' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw3MS4xM3w4My43Mw==)'> +<rect x='584.20' y='71.13' width='36.22' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNjIwLjQyfDY4NC40OHw0NS45M3w1OC41Mw=='> + <rect x='620.42' y='45.93' width='64.06' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw0NS45M3w1OC41Mw==)'> +<rect x='620.42' y='45.93' width='64.06' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNjIwLjQyfDY4NC40OHw1OC41M3w3MS4xMw=='> + <rect x='620.42' y='58.53' width='64.06' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw1OC41M3w3MS4xMw==)'> +<rect x='620.42' y='58.53' width='64.06' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #E5E5E5;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNjIwLjQyfDY4NC40OHw3MS4xM3w4My43Mw=='> + <rect x='620.42' y='71.13' width='64.06' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw3MS4xM3w4My43Mw==)'> +<rect x='620.42' y='71.13' width='64.06' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #F2F2F2;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXwzMy4zM3w0NS45Mw==)'> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHwzMy4zM3w0NS45Mw==)'> +<text x='576.32' y='42.72' text-anchor='middle' style='font-size: 9.00px; font-weight: bold; font-family: sans;' textLength='6.50px' lengthAdjust='spacingAndGlyphs'>N</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw0NS45M3w1OC41Mw==)'> +<text x='576.32' y='55.32' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='10.01px' lengthAdjust='spacingAndGlyphs'>69</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw0NS45M3w1OC41Mw==)'> +<text x='566.69' y='55.32' text-anchor='end' style='font-size: 9.00px; font-style: italic; font-family: sans;' textLength='28.51px' lengthAdjust='spacingAndGlyphs'>ARM A</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTg0LjIwfDYyMC40MnwzMy4zM3w0NS45Mw==)'> +<text x='602.31' y='42.72' text-anchor='middle' style='font-size: 9.00px; font-weight: bold; font-family: sans;' textLength='29.52px' lengthAdjust='spacingAndGlyphs'>Median</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw1OC41M3w3MS4xMw==)'> +<text x='576.32' y='67.92' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='10.01px' lengthAdjust='spacingAndGlyphs'>73</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw1OC41M3w3MS4xMw==)'> +<text x='566.69' y='67.92' text-anchor='end' style='font-size: 9.00px; font-style: italic; font-family: sans;' textLength='28.51px' lengthAdjust='spacingAndGlyphs'>ARM B</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHwzMy4zM3w0NS45Mw==)'> +<text x='652.45' y='42.72' text-anchor='middle' style='font-size: 9.00px; font-weight: bold; font-family: sans;' textLength='29.52px' lengthAdjust='spacingAndGlyphs'>95% CI</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTY4LjQ1fDU4NC4yMHw3MS4xM3w4My43Mw==)'> +<text x='576.32' y='80.52' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='10.01px' lengthAdjust='spacingAndGlyphs'>58</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTMzLjI4fDU2OC40NXw3MS4xM3w4My43Mw==)'> +<text x='566.69' y='80.52' text-anchor='end' style='font-size: 9.00px; font-style: italic; font-family: sans;' textLength='29.01px' lengthAdjust='spacingAndGlyphs'>ARM C</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw0NS45M3w1OC41Mw==)'> +<text x='602.31' y='55.32' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='22.52px' lengthAdjust='spacingAndGlyphs'>974.6</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw1OC41M3w3MS4xMw==)'> +<text x='602.31' y='67.92' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='22.52px' lengthAdjust='spacingAndGlyphs'>727.8</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTg0LjIwfDYyMC40Mnw3MS4xM3w4My43Mw==)'> +<text x='602.31' y='80.52' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='22.52px' lengthAdjust='spacingAndGlyphs'>632.3</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw0NS45M3w1OC41Mw==)'> +<text x='652.45' y='55.32' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='53.54px' lengthAdjust='spacingAndGlyphs'>(685.2, 1501)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw1OC41M3w3MS4xMw==)'> +<text x='652.45' y='67.92' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='53.54px' lengthAdjust='spacingAndGlyphs'>(555.8, 1000)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNjIwLjQyfDY4NC40OHw3MS4xM3w4My43Mw==)'> +<text x='652.45' y='80.52' text-anchor='middle' style='font-size: 9.00px; font-family: sans;' textLength='56.04px' lengthAdjust='spacingAndGlyphs'>(391.3, 792.1)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTguODl8MTI1LjA2fDM2Mi4wOHwzNzQuNjg='> + <rect x='58.89' y='362.08' width='66.17' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM2Mi4wOHwzNzQuNjg=)'> +<rect x='58.89' y='362.08' width='66.17' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTguODl8MTI1LjA2fDM3NC42OHwzODcuMjg='> + <rect x='58.89' y='374.68' width='66.17' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM3NC42OHwzODcuMjg=)'> +<rect x='58.89' y='374.68' width='66.17' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpNTguODl8MTI1LjA2fDM4Ny4yOHwzOTkuODg='> + <rect x='58.89' y='387.28' width='66.17' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM4Ny4yOHwzOTkuODg=)'> +<rect x='58.89' y='387.28' width='66.17' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTI1LjA2fDE0OC4xOXwzNjIuMDh8Mzc0LjY4'> + <rect x='125.06' y='362.08' width='23.13' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzNjIuMDh8Mzc0LjY4)'> +<rect x='125.06' y='362.08' width='23.13' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTQ4LjE5fDE5My4yOHwzNjIuMDh8Mzc0LjY4'> + <rect x='148.19' y='362.08' width='45.10' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzNjIuMDh8Mzc0LjY4)'> +<rect x='148.19' y='362.08' width='45.10' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTkzLjI4fDI2MC40OXwzNjIuMDh8Mzc0LjY4'> + <rect x='193.28' y='362.08' width='67.20' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzNjIuMDh8Mzc0LjY4)'> +<rect x='193.28' y='362.08' width='67.20' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; fill: #CCCCCC;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTI1LjA2fDE0OC4xOXwzNzQuNjh8Mzg3LjI4'> + <rect x='125.06' y='374.68' width='23.13' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzNzQuNjh8Mzg3LjI4)'> +<rect x='125.06' y='374.68' width='23.13' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #F2F2F2; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTI1LjA2fDE0OC4xOXwzODcuMjh8Mzk5Ljg4'> + <rect x='125.06' y='387.28' width='23.13' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzODcuMjh8Mzk5Ljg4)'> +<rect x='125.06' y='387.28' width='23.13' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #E5E5E5; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTQ4LjE5fDE5My4yOHwzNzQuNjh8Mzg3LjI4'> + <rect x='148.19' y='374.68' width='45.10' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzNzQuNjh8Mzg3LjI4)'> +<rect x='148.19' y='374.68' width='45.10' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #F2F2F2; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTQ4LjE5fDE5My4yOHwzODcuMjh8Mzk5Ljg4'> + <rect x='148.19' y='387.28' width='45.10' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzODcuMjh8Mzk5Ljg4)'> +<rect x='148.19' y='387.28' width='45.10' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #E5E5E5; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTkzLjI4fDI2MC40OXwzNzQuNjh8Mzg3LjI4'> + <rect x='193.28' y='374.68' width='67.20' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzNzQuNjh8Mzg3LjI4)'> +<rect x='193.28' y='374.68' width='67.20' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #F2F2F2; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<defs> + <clipPath id='cpMTkzLjI4fDI2MC40OXwzODcuMjh8Mzk5Ljg4'> + <rect x='193.28' y='387.28' width='67.20' height='12.60' /> + </clipPath> +</defs> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzODcuMjh8Mzk5Ljg4)'> +<rect x='193.28' y='387.28' width='67.20' height='12.60' style='stroke-width: 1.12; stroke: #FFFFFF; stroke-opacity: 0.50; fill: #E5E5E5; fill-opacity: 0.50;' /> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM2Mi4wOHwzNzQuNjg=)'> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzNjIuMDh8Mzc0LjY4)'> +<text x='136.62' y='370.45' text-anchor='middle' style='font-size: 6.00px; font-weight: bold; font-family: sans;' textLength='8.67px' lengthAdjust='spacingAndGlyphs'>HR</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzNzQuNjh8Mzg3LjI4)'> +<text x='136.62' y='383.05' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='11.68px' lengthAdjust='spacingAndGlyphs'>0.71</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM3NC42OHwzODcuMjg=)'> +<text x='121.75' y='383.05' text-anchor='end' style='font-size: 6.00px; font-style: italic; font-family: sans;' textLength='49.02px' lengthAdjust='spacingAndGlyphs'>ARM A vs. ARM B</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzNjIuMDh8Mzc0LjY4)'> +<text x='170.74' y='370.45' text-anchor='middle' style='font-size: 6.00px; font-weight: bold; font-family: sans;' textLength='19.68px' lengthAdjust='spacingAndGlyphs'>95% CI</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTI1LjA2fDE0OC4xOXwzODcuMjh8Mzk5Ljg4)'> +<text x='136.62' y='395.65' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='11.68px' lengthAdjust='spacingAndGlyphs'>1.22</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpNTguODl8MTI1LjA2fDM4Ny4yOHwzOTkuODg=)'> +<text x='121.75' y='395.65' text-anchor='end' style='font-size: 6.00px; font-style: italic; font-family: sans;' textLength='49.35px' lengthAdjust='spacingAndGlyphs'>ARM C vs. ARM B</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzNjIuMDh8Mzc0LjY4)'> +<text x='226.89' y='370.45' text-anchor='middle' style='font-size: 6.00px; font-weight: bold; font-family: sans;' textLength='47.02px' lengthAdjust='spacingAndGlyphs'>p-value (log-rank)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzNzQuNjh8Mzg3LjI4)'> +<text x='170.74' y='383.05' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>(0.48, 1.06)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTQ4LjE5fDE5My4yOHwzODcuMjh8Mzk5Ljg4)'> +<text x='170.74' y='395.65' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>(0.81, 1.85)</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzNzQuNjh8Mzg3LjI4)'> +<text x='226.89' y='383.05' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='18.35px' lengthAdjust='spacingAndGlyphs'>0.0905</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +</g> +<g clip-path='url(#cpMTkzLjI4fDI2MC40OXwzODcuMjh8Mzk5Ljg4)'> +<text x='226.89' y='395.65' text-anchor='middle' style='font-size: 6.00px; font-family: sans;' textLength='18.35px' lengthAdjust='spacingAndGlyphs'>0.3371</text> +</g> +<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> +<text x='58.56' y='404.01' text-anchor='end' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='15.57px' lengthAdjust='spacingAndGlyphs'>0.00</text> +<text x='58.56' y='311.90' text-anchor='end' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='15.57px' lengthAdjust='spacingAndGlyphs'>0.25</text> +<text x='58.56' y='219.79' text-anchor='end' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='15.57px' lengthAdjust='spacingAndGlyphs'>0.50</text> +<text x='58.56' y='127.68' text-anchor='end' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='15.57px' lengthAdjust='spacingAndGlyphs'>0.75</text> +<text x='58.56' y='35.57' text-anchor='end' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='15.57px' lengthAdjust='spacingAndGlyphs'>1.00</text> +<polyline points='60.75,401.26 63.49,401.26 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='60.75,309.15 63.49,309.15 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='60.75,217.04 63.49,217.04 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='60.75,124.93 63.49,124.93 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='60.75,32.82 63.49,32.82 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<text transform='translate(38.05,217.04) rotate(-90)' text-anchor='middle' style='font-size: 10.00px; font-family: sans;' textLength='85.04px' lengthAdjust='spacingAndGlyphs'>Survival Probability</text> +<polyline points='92.65,425.18 92.65,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='208.72,425.18 208.72,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='324.79,425.18 324.79,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='440.85,425.18 440.85,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='556.92,425.18 556.92,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='672.98,425.18 672.98,422.44 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<text x='92.65' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='4.45px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='208.72' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>1000</text> +<text x='324.79' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>2000</text> +<text x='440.85' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>3000</text> +<text x='556.92' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>4000</text> +<text x='672.98' y='432.87' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>5000</text> +<text x='382.82' y='444.25' text-anchor='middle' style='font-size: 10.00px; font-family: sans;' textLength='22.79px' lengthAdjust='spacingAndGlyphs'>Days</text> +<rect x='256.33' y='450.21' width='252.98' height='21.04' style='stroke-width: 2.13; stroke: #BEBEBE;' /> +<rect x='266.79' y='455.69' width='17.28' height='10.08' style='stroke-width: 1.07; stroke: none; fill: #F2F2F2;' /> +<line x1='268.52' y1='460.73' x2='282.34' y2='460.73' style='stroke-width: 1.07; stroke: #343CFF; stroke-linecap: butt;' /> +<rect x='319.37' y='455.69' width='17.28' height='10.08' style='stroke-width: 1.07; stroke: none; fill: #F2F2F2;' /> +<line x1='321.10' y1='460.73' x2='334.92' y2='460.73' style='stroke-width: 1.07; stroke: #FF484B; stroke-linecap: butt;' /> +<rect x='371.95' y='455.69' width='17.28' height='10.08' style='stroke-width: 1.07; stroke: none; fill: #F2F2F2;' /> +<line x1='373.68' y1='460.73' x2='387.50' y2='460.73' style='stroke-width: 1.07; stroke: #232323; stroke-linecap: butt;' /> +<text x='289.05' y='463.48' style='font-size: 8.00px; font-family: sans;' textLength='25.34px' lengthAdjust='spacingAndGlyphs'>ARM A</text> +<text x='341.63' y='463.48' style='font-size: 8.00px; font-family: sans;' textLength='25.34px' lengthAdjust='spacingAndGlyphs'>ARM B</text> +<text x='394.21' y='463.48' style='font-size: 8.00px; font-family: sans;' textLength='25.79px' lengthAdjust='spacingAndGlyphs'>ARM C</text> +<rect x='446.89' y='455.69' width='17.28' height='10.08' style='stroke-width: 1.07; stroke: none; fill: #F2F2F2;' /> +<line x1='452.01' y1='460.73' x2='459.04' y2='460.73' style='stroke-width: 0.71;' /> +<line x1='455.53' y1='464.25' x2='455.53' y2='457.21' style='stroke-width: 0.71;' /> +<text x='469.15' y='463.48' style='font-size: 8.00px; font-family: sans;' textLength='34.69px' lengthAdjust='spacingAndGlyphs'>Censored</text> +<text x='60.16' y='487.21' text-anchor='middle' style='font-size: 10.00px; font-weight: bold; font-family: sans;' textLength='72.26px' lengthAdjust='spacingAndGlyphs'>Patients at Risk:</text> +<rect x='63.64' y='522.64' width='638.36' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #F2F2F2;' /> +<rect x='63.64' y='508.24' width='638.36' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #E5E5E5;' /> +<rect x='63.64' y='493.84' width='638.36' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #F2F2F2;' /> +<text x='92.65' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>69</text> +<text x='208.72' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>22</text> +<text x='324.79' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>5</text> +<text x='440.85' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text> +<text x='556.92' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text> +<text x='672.98' y='505.17' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='92.65' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>73</text> +<text x='208.72' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>21</text> +<text x='324.79' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>5</text> +<text x='440.85' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>2</text> +<text x='556.92' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text> +<text x='672.98' y='519.57' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='92.65' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>58</text> +<text x='208.72' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='13.35px' lengthAdjust='spacingAndGlyphs'>11</text> +<text x='324.79' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text> +<text x='440.85' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='556.92' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='672.98' y='533.97' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text> +<rect x='21.48' y='522.64' width='38.68' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #F2F2F2;' /> +<rect x='21.48' y='508.24' width='38.68' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #E5E5E5;' /> +<rect x='21.48' y='493.84' width='38.68' height='14.40' style='stroke-width: 0.75; stroke: #FFFFFF; fill: #F2F2F2;' /> +<text x='40.82' y='505.84' text-anchor='middle' style='font-size: 10.00px; font-style: italic; font-family: sans;' textLength='31.68px' lengthAdjust='spacingAndGlyphs'>ARM A</text> +<text x='40.82' y='518.44' text-anchor='middle' style='font-size: 10.00px; font-style: italic; font-family: sans;' textLength='31.68px' lengthAdjust='spacingAndGlyphs'>ARM B</text> +<text x='40.82' y='531.04' text-anchor='middle' style='font-size: 10.00px; font-style: italic; font-family: sans;' textLength='32.23px' lengthAdjust='spacingAndGlyphs'>ARM C</text> +<polyline points='92.65,540.05 92.65,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='208.72,540.05 208.72,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='324.79,540.05 324.79,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='440.85,540.05 440.85,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='556.92,540.05 556.92,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<polyline points='672.98,540.05 672.98,537.31 ' style='stroke-width: 1.07; stroke: #333333; stroke-linecap: butt;' /> +<text x='92.65' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='4.45px' lengthAdjust='spacingAndGlyphs'>0</text> +<text x='208.72' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>1000</text> +<text x='324.79' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>2000</text> +<text x='440.85' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>3000</text> +<text x='556.92' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>4000</text> +<text x='672.98' y='547.75' text-anchor='middle' style='font-size: 8.00px; fill: #4D4D4D; font-family: sans;' textLength='17.80px' lengthAdjust='spacingAndGlyphs'>5000</text> +<text x='382.82' y='559.13' text-anchor='middle' style='font-size: 10.00px; font-family: sans;' textLength='22.79px' lengthAdjust='spacingAndGlyphs'>Days</text> +</g> +</svg> diff --git a/tests/testthat/test-g_km.R b/tests/testthat/test-g_km.R index d4cde0d319..cf11cbee60 100644 --- a/tests/testthat/test-g_km.R +++ b/tests/testthat/test-g_km.R @@ -103,3 +103,22 @@ testthat::test_that("annot_at_risk_title parameter works as expected", { ) vdiffr::expect_doppelganger(title = "g_km_at_risk_title", fig = g_km_at_risk_title) }) + +testthat::test_that("ref_group_coxph parameter works as expected", { + set.seed(123) + + df <- tern_ex_adtte %>% + dplyr::filter(PARAMCD == "OS") %>% + dplyr::mutate(is_event = CNSR == 0) + + variables <- list(tte = "AVAL", is_event = "is_event", arm = "ARMCD") + + g_km_ref_group_coxph <- g_km( + df = df, + variables = variables, + annot_coxph = TRUE, + ref_group_coxph = "ARM B", + annot_coxph_ref_lbls = TRUE + ) + vdiffr::expect_doppelganger(title = "g_km_ref_group_coxph", fig = g_km_ref_group_coxph) +})