Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default values for meta_forestly. #48

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions R/ae_forestly.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
#' meta_forestly(
#' dataset_adsl = adsl,
#' dataset_adae = adae,
#' population_term = "apat",
#' observation_term = "wk12",
#' parameter = "any;rel"
#' ) |>
#' prepare_ae_forestly() |>
#' format_ae_forestly() |>
Expand Down
5 changes: 1 addition & 4 deletions R/format_ae_forestly.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
#' adae <- forestly_adae[1:100,]
#' meta_forestly(
#' dataset_adsl = adsl,
#' dataset_adae = adae,
#' population_term = "apat",
#' observation_term = "wk12",
#' parameter = "any;rel"
#' dataset_adae = adae
#' ) |>
#' prepare_ae_forestly()|>
#' format_ae_forestly()
Expand Down
6 changes: 3 additions & 3 deletions R/meta_forestly.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
#' forestly_adsl,
#' forestly_adae,
#' population_term = "apat",
#' observation_term = "wk12",
#' observation_term = "safety",
#' parameter_term = "any;rel"
#' )
meta_forestly <- function(
dataset_adsl,
dataset_adae,
population_term,
observation_term,
population_term = "apat",
observation_term = "safety",
parameter_term = "any;rel",
population_subset = SAFFL == "Y",
observation_subset = SAFFL == "Y",
Expand Down
5 changes: 1 addition & 4 deletions R/prepare_ae_forestly.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
#' adae <- forestly_adae[1:100,]
#' meta_forestly(
#' dataset_adsl = adsl,
#' dataset_adae = adae,
#' population_term = "apat",
#' observation_term = "wk12",
#' parameter = "any;rel"
#' dataset_adae = adae
#' ) |>
#' prepare_ae_forestly()
prepare_ae_forestly <- function(
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ library("forestly")

meta_forestly(
forestly_adsl,
forestly_adae,
population_term = "apat",
observation_term = "wk12"
forestly_adae
) |>
prepare_ae_forestly(parameter = "any;rel;ser") |>
format_ae_forestly() |>
Expand Down
3 changes: 0 additions & 3 deletions man/ae_forestly.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions man/format_ae_forestly.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/meta_forestly.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions man/prepare_ae_forestly.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions vignettes/forestly-cran.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ forestly_adae$TRTA <- factor(forestly_adae$TRTA, levels = c("Xanomeline Low Dose

meta_forestly(
dataset_adsl = forestly_adsl,
dataset_adae = forestly_adae,
population_term = "apat",
observation_term = "wk12"
dataset_adae = forestly_adae
) |>
prepare_ae_forestly(parameter = "any;rel;ser") |>
format_ae_forestly() |>
Expand Down
4 changes: 0 additions & 4 deletions vignettes/forestly.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ forestly_adae$TRTA <- factor(forestly_adae$TRTA, levels = c("Xanomeline Low Dose
meta_forestly(
dataset_adsl = forestly_adsl,
dataset_adae = forestly_adae,
population_term = "apat",
observation_term = "wk12",
parameter_term = "any;rel;ser"
) |>
prepare_ae_forestly() |>
Expand Down Expand Up @@ -89,8 +87,6 @@ to generate the interactive forest plot.
meta_forestly(
dataset_adsl = forestly_adsl,
dataset_adae = forestly_adae,
population_term = "apat",
observation_term = "wk12",
parameter_term = "any;rel;ser"
)
```
Expand Down
2 changes: 0 additions & 2 deletions vignettes/layout.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ The `outdata` contains all the parameters required to generate the interactive f
metadata <- meta_forestly(
dataset_adsl = forestly_adsl_3grp,
dataset_adae = forestly_adae_3grp,
population_term = "apat",
observation_term = "wk12",
parameter_term = "any;rel;ser"
)

Expand Down