diff --git a/dev/articles/adrs.html b/dev/articles/adrs.html index 4a04d7e3..86655cdb 100644 --- a/dev/articles/adrs.html +++ b/dev/articles/adrs.html @@ -209,8 +209,8 @@
ADT
,
@@ -278,8 +278,8 @@ AVALC
and AVAL
@@ -295,8 +295,8 @@ AVALC
and AVAL
AVALC = RSSTRESC,
AVAL = aval_resp(AVALC)
)ANL01FL
)
@@ -330,8 +330,8 @@ ANL01FL
) ),
filter = !is.na(AVAL) & ADT >= RANDDT
)Here is an alternative example where those records occurring after +
+Here is an alternative example where those records occurring after
new anti-cancer therapy are additionally excluded (where
NACTDT
would be pre-derived as first date of new
anti-cancer therapy. See admiralonco Creating and Using New Anti-Cancer Start Date for
@@ -363,8 +363,8 @@
ANL02FL
) selection = "before",
inclusive = TRUE
)
-
-
+
+
ovr <- filter(adrs, PARAMCD == "OVR" & ANL01FL == "Y" & ANL02FL == "Y")
For progressive disease, response and death parameters shown in steps +
+For progressive disease, response and death parameters shown in steps
here and below, in our examples we show these as ADRS
parameters, but they could equally be achieved via ADSL
dates or ADEVENT
parameters. If you prefer to store as an
@@ -577,8 +577,8 @@
Note that the above gives pre-defined AVAL
values
+
Note that the above gives pre-defined AVAL
values
(defined by aval_resp()
) of: "CR" ~ 1
,
"PR" ~ 2
, "SD" ~ 3
,
"NON-CR/NON-PD" ~ 4
, "PD" ~ 5
,
@@ -719,8 +719,8 @@
Then in all the calls to the parameter derivation functions you would +
+Then in all the calls to the parameter derivation functions you would
replace ovr = ovr
with ovr == ovrb
in the
value of the source_datasets
argument.
ASEQ
@@ -1125,8 +1125,8 @@ ASEQ
order = exprs(PARAMCD, ADT, VISITNUM, RSSEQ),
check_type = "error"
)ADT
,
@@ -278,8 +278,8 @@ AVALC
and AVAL
@@ -295,8 +295,8 @@ AVALC
and AVAL
AVALC = RSSTRESC,
AVAL = aval_resp(AVALC)
)ANL01FL
)
@@ -330,8 +330,8 @@ ANL01FL
) ),
filter = !is.na(AVAL) & ADT >= RANDDT
)Here is an alternative example where those records occurring after +
+Here is an alternative example where those records occurring after
new anti-cancer therapy are additionally excluded (where
NACTDT
would be pre-derived as first date of new
anti-cancer therapy. See admiralonco Creating and Using New Anti-Cancer Start Date for
@@ -409,8 +409,8 @@
For progressive disease, response and death parameters shown in steps +
+For progressive disease, response and death parameters shown in steps
here and below, in our examples we show these as ADRS
parameters, but they could equally be achieved via ADSL
dates or ADEVENT
parameters. If you prefer to store as an
@@ -463,8 +463,8 @@
Note that the above gives pre-defined AVAL
values
+
Note that the above gives pre-defined AVAL
values
(defined by aval_resp()
) of: "CR" ~ 1
,
"PR" ~ 2
, "SD" ~ 3
,
"NON-CR/NON-PD" ~ 4
, "PD" ~ 5
,
@@ -589,8 +589,8 @@
Then in all the calls to the parameter derivation functions you would +
+Then in all the calls to the parameter derivation functions you would
replace the PARAMCD == "OVR"
source with
PARAMCD == "OVRR1"
.
ASEQ
@@ -821,8 +821,8 @@ ASEQ
order = exprs(PARAMCD, ADT, VISITNUM, RSSEQ),
check_type = "error"
)TR
with TU
and Derive New
"NON-NODAL"
)
)Furthermore, you could create additional new variables that are +
+Furthermore, you could create additional new variables that are
required downstream when deriving the required parameters. For example,
here we include lesion ID expected (LSEXP
) and lesion ID
assessed (LSASS
).
TR
with TU
and Derive New
LSEXP = TRLNKID,
LSASS = if_else(!is.na(TRSTRESN), TRLNKID, NA_character_)
)
-
-
+
+
LDIAMn
ANL01FL = if_else(!is.na(AVAL), "Y", NA_character_)
) %>%
select(-tmp_lesion_nr)The analysis flag ANL01FL
flags the sum of diameters
+
The analysis flag ANL01FL
flags the sum of diameters
where the number of lesions assessed at baseline and at post-baseline
match. To assess whether the number of lesions expected and assessed
match, you could compare lesion identifiers (TR.TRLNKID
) or
@@ -518,8 +518,8 @@
NADIR
mode = "first",
check_type = "none"
)
-
-
+
+
CHG
,
@@ -539,8 +539,8 @@ CHG
,
CHGNAD = AVAL - NADIR,
PCHGNAD = if_else(NADIR == 0, NA_real_, 100 * CHGNAD / NADIR)
)PD
from
new_var = PDFL,
condition = AVALC == "Y"
)PD
@@ -587,8 +587,8 @@ CR
at the current
@@ -601,8 +601,8 @@ ANLzzFL
filter = ANL01FL == "Y" & POSTRNDFL == "Y"
) %>%
select(-POSTRNDFL)
-
-Analysis 03 flag (ANL03FL
) includes all sum of diameters
+
Analysis 03 flag (ANL03FL
) includes all sum of diameters
where all lesions were assessed (where ANL01FL == "Y"
)
until the patient has PD
, indicated by using the
PDFL
variable.
ANLzzFL
),
filter = ANL01FL == "Y" | PDFL == "Y"
)
-
-Analysis 04 flag (ANL04FL
) includes all sum of diameters
+
Analysis 04 flag (ANL04FL
) includes all sum of diameters
where all lesions were assessed (where ANL01FL == "Y"
) and
additionally those indicating PD
using the
PDFL
variable.
ANLzzFL
mutate(
ANL04FL = if_else(ANL01FL == "Y" | PDFL == "Y", "Y", NA_character_)
)
-
-+ +adtr <- bind_rows(adtr, adtr_sum)
ASEQ
)= exprs(PARAMCD, AVISITN, TRSEQ),
check_type = "error"
)ADSL
Variables
@@ -731,8 +731,8 @@ ADSL
Variables= select(adsl, !!!negate_vars(adsl_vars)),
by_vars = exprs(STUDYID, USUBJID)
)AVAL
) start_date = STARTDT,
end_date = ADT
)Other time units, such as months that we commonly see in oncology +
+Other time units, such as months that we commonly see in oncology
analyses, can be requested by specifying the out_unit
parameter. See the example below. Note that because of the underlying
lubridate::time_length()
function that is used here this
@@ -507,8 +507,8 @@
ASEQ
)= exprs(PARAMCD),
check_type = "error"
)
-
-
+
+
ADT
,
@@ -271,8 +271,8 @@ AVALC
and AVAL
@@ -308,8 +308,8 @@ AVALC
and AVAL
AVALC = RSSTRESC,
AVAL = aval_resp_new(AVALC)
)ANL01FL
)
@@ -331,8 +331,8 @@ ANL01FL
) ),
filter = !is.na(AVAL) & AVALC != "MISSING" & ADT >= RANDDT
)Here is an alternative example where those records occurring after +
+Here is an alternative example where those records occurring after
new anti-cancer therapy are additionally excluded (where
NACTDT
would be pre-derived as first date of new
anti-cancer therapy. See admiralonco Creating and Using New Anti-Cancer Start Date for
@@ -364,8 +364,8 @@
ANL02FL
) selection = "before",
inclusive = TRUE
)
-
-
+
+
ovr <- filter(adrs, PARAMCD == "OVR" & ANL01FL == "Y" & ANL02FL == "Y")
For progressive disease and response shown in steps here and below, +
+For progressive disease and response shown in steps here and below,
in our examples we show these as ADRS
parameters, but they
could equally be achieved via ADSL
dates or
ADEVENT
parameters.If you prefer to store as an ADSL date,
@@ -568,8 +568,8 @@