AEL01_NOLLT
Listing 1 (Default) Glossary of Preferred Terms and Investigator-Specified Terms.
Source: R/ael01_nollt.R
ael01_nollt.Rd
AEL01_NOLLT
Listing 1 (Default) Glossary of Preferred Terms and Investigator-Specified Terms.
Usage
ael01_nollt_main(
adam_db,
dataset = "adae",
key_cols = c("AEBODSYS", "AEDECOD"),
disp_cols = "AETERM",
default_formatting = list(all = fmt_config(align = "left"), numeric = fmt_config(align
= "center")),
col_formatting = NULL,
unique_rows = TRUE,
...
)
ael01_nollt_pre(
adam_db,
dataset = "adae",
key_cols = c("AEBODSYS", "AEDECOD"),
disp_cols = "AETERM",
...
)
ael01_nollt_post(tlg, ...)
ael01_nollt
Arguments
- adam_db
(
list
ofdata.frames
) object containing theADaM
datasets- dataset
(
character
) the name of a table in theadam_db
object.- key_cols
(
character
) names of columns that should be treated as key columns when rendering the listing. Key columns allow you to group repeat occurrences.- disp_cols
(
character
) names of non-key columns which should be displayed when the listing is rendered.- default_formatting
(
list
) the default format of the listing columns. Seerlistings::as_listing
.- col_formatting
(
list
) the format of specific listing columns. Seerlistings::as_listing
.- unique_rows
(
flag
) whether to keep only unique rows in listing.- ...
additional arguments passed to
rlistings::as_listing
.- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.
Value
the main function returns an rlistings
or a list
object.
the preprocessing function returns a list
of data.frame
.
the postprocessing function returns an rlistings
object or an ElementaryTable
(null report).
Details
Removes duplicate rows.
By default, uses dataset
adae
, sorting by key columnsAEBODSYS
andAEDECOD
.If using with a dataset other than
adae
, be sure to specify the desired labels for variables inkey_cols
anddisp_cols
, and pre-process missing data.
Functions
ael01_nollt_main()
: Main TLG functionael01_nollt_pre()
: Preprocessingael01_nollt_post()
: Postprocessing
Note
adam_db
object must contain thedataset
table with columns specified bykey_cols
anddisp_cols
.
Examples
run(ael01_nollt, syn_data)
#> MedDRA System Organ Class MedDRA Preferred Term Reported Term for the Adverse Event
#> ———————————————————————————————————————————————————————————————————————————————————————
#> cl A.1 dcd A.1.1.1.1 trm A.1.1.1.1
#> dcd A.1.1.1.2 trm A.1.1.1.2
#> cl B.1 dcd B.1.1.1.1 trm B.1.1.1.1
#> cl B.2 dcd B.2.1.2.1 trm B.2.1.2.1
#> dcd B.2.2.3.1 trm B.2.2.3.1
#> cl C.1 dcd C.1.1.1.3 trm C.1.1.1.3
#> cl C.2 dcd C.2.1.2.1 trm C.2.1.2.1
#> cl D.1 dcd D.1.1.1.1 trm D.1.1.1.1
#> dcd D.1.1.4.2 trm D.1.1.4.2
#> cl D.2 dcd D.2.1.5.3 trm D.2.1.5.3