From 35b826fceb9930bba906a415ce7bba4f4bfdb272 Mon Sep 17 00:00:00 2001 From: BFalquet Date: Wed, 11 Sep 2024 16:09:57 +0200 Subject: [PATCH 1/3] add cfbt01 --- vignettes/chevron_catalog.rmd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/vignettes/chevron_catalog.rmd b/vignettes/chevron_catalog.rmd index 8d485f4e7..e5b8bce7f 100644 --- a/vignettes/chevron_catalog.rmd +++ b/vignettes/chevron_catalog.rmd @@ -302,6 +302,31 @@ To modify the threshold for displaying preferred terms, this can be achieved by run(aet10, syn_data, atleast = 0.08) ``` +### **Absolute Value and Change from Baseline by Visit (`CFBT01`)** + +#### **1. Absolute Value and Change from Baseline by Visit** + +1) By default, the `cfbt01` template displays analysis value (`AVAL`) and absolute change from baseline (`CHG`) for each visit. +2) The template does not include the column of total by default. +3) Each parameter is presented on a separate page. +4) The absolute change from baseline at baseline value is not displayed. + +```{r} +proc_data <- log_filter( + syn_data, + PARAMCD %in% c("DIABP", "SYSBP"), "advs" +) +run(cfbt01, proc_data, dataset = "advs") +``` + +#### **2. Absolute Value and Change from Baseline by Visit without Screening** + +The `skip` arguments controls which visit values should not be displayed. For instance, to mask the changes from baseline during the screening. + +```{r} +run(cfbt01, proc_data, dataset = "advs", skip = list(CHG = c("SCREENING", "BASELINE"))) +``` + ### **Concomitant Medications by Medication Class and Preferred Name (`CMT01A`)** #### **1. Concomitant Medications by Medication Class and Preferred Name** From 26c02073696cdbff966081144e64e8d529dd5f3f Mon Sep 17 00:00:00 2001 From: b_falquet Date: Thu, 10 Oct 2024 16:33:21 +0200 Subject: [PATCH 2/3] only absolute value --- vignettes/chevron_catalog.rmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vignettes/chevron_catalog.rmd b/vignettes/chevron_catalog.rmd index e5b8bce7f..d942f7023 100644 --- a/vignettes/chevron_catalog.rmd +++ b/vignettes/chevron_catalog.rmd @@ -327,6 +327,14 @@ The `skip` arguments controls which visit values should not be displayed. For in run(cfbt01, proc_data, dataset = "advs", skip = list(CHG = c("SCREENING", "BASELINE"))) ``` +### **3. Absolute Value by Visit** + +To display only the absolute value, specify `summaryvars = "AVAL"`. + +```{r} +run(cfbt01, proc_data, dataset = "advs", summaryvars = "AVAL") +``` + ### **Concomitant Medications by Medication Class and Preferred Name (`CMT01A`)** #### **1. Concomitant Medications by Medication Class and Preferred Name** From ab88520ca3a70374704bfba0c9d4f0eee69d3af9 Mon Sep 17 00:00:00 2001 From: b_falquet <64274616+BFalquet@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:28:50 +0200 Subject: [PATCH 3/3] Update vignettes/chevron_catalog.rmd Liming's suggestion Co-authored-by: Liming <36079400+clarkliming@users.noreply.github.com> Signed-off-by: b_falquet <64274616+BFalquet@users.noreply.github.com> --- vignettes/chevron_catalog.rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/chevron_catalog.rmd b/vignettes/chevron_catalog.rmd index d942f7023..d6772b53f 100644 --- a/vignettes/chevron_catalog.rmd +++ b/vignettes/chevron_catalog.rmd @@ -321,7 +321,7 @@ run(cfbt01, proc_data, dataset = "advs") #### **2. Absolute Value and Change from Baseline by Visit without Screening** -The `skip` arguments controls which visit values should not be displayed. For instance, to mask the changes from baseline during the screening. +The `skip` arguments controls which visit values should not be displayed. For instance, to mask the changes from baseline during the "SCREENING" and "BASELINE" visits. ```{r} run(cfbt01, proc_data, dataset = "advs", skip = list(CHG = c("SCREENING", "BASELINE")))