Skip to content
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
5 changes: 2 additions & 3 deletions R/tm_g_ae_oview.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,8 @@ srv_g_ae_oview <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# AE Overview"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand All @@ -308,7 +307,7 @@ srv_g_ae_oview <- function(id,
))
)

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

teal.code::eval_code(
q1,
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_ae_sub.R
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,8 @@ srv_g_ae_sub <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# AE by Subgroups"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)

ANL <- obj[[dataname]]
Expand Down Expand Up @@ -348,7 +347,7 @@ srv_g_ae_sub <- function(id,
q1 <- teal.code::eval_code(obj, code = group_labels_call) %>%
teal.code::eval_code(code = "")

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

teal.code::eval_code(
q1,
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_butterfly.R
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,8 @@ srv_g_butterfly <- function(id, data, dataname, label, plot_height, plot_width)
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Butterfly Plot"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand Down Expand Up @@ -462,7 +461,7 @@ srv_g_butterfly <- function(id, data, dataname, label, plot_height, plot_width)
)
}

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

if (!is.null(input$filter_var) || !is.null(input$facet_var) || !is.null(input$sort_by_var)) {
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Selected Options")
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_events_term_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,8 @@ srv_g_events_term_id <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Events by Term"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)

ANL <- obj[[dataname]]
Expand Down Expand Up @@ -334,7 +333,7 @@ srv_g_events_term_id <- function(id,
msg = "Analysis data set must have at least 10 data points"
)

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

q2 <- teal.code::eval_code(
q1,
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_heat_bygrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,8 @@ srv_g_heatmap_bygrade <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Heatmap by Grade"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand Down Expand Up @@ -432,7 +431,7 @@ srv_g_heatmap_bygrade <- function(id,
)
}

teal.reporter::teal_card(qenv) <- c(teal.reporter::teal_card(qenv), "## Plot")
teal.reporter::teal_card(qenv) <- c(teal.reporter::teal_card(qenv), "### Plot")

teal.code::eval_code(
qenv,
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_patient_profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,8 @@ srv_g_patient_profile <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Patient Profile"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand Down Expand Up @@ -873,7 +872,7 @@ srv_g_patient_profile <- function(id,
x_limit <- q1[["x_limit"]]
}

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

q1 <- teal.code::eval_code(
q1,
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_spiderplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,8 @@ srv_g_spider <- function(id, data, dataname, paramcd, label, plot_height, plot_w
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Spider Plot"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand Down Expand Up @@ -384,7 +383,7 @@ srv_g_spider <- function(id, data, dataname, paramcd, label, plot_height, plot_w

# plot code to qenv ---

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")
if (!is.null(input$paramcd) || !is.null(input$xfacet_var) || !is.null(input$yfacet_var)) {
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Selected Options")
}
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_swimlane.R
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,8 @@ srv_g_swimlane <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Swimlane Plot"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)

teal::validate_inputs(iv())
Expand Down Expand Up @@ -502,7 +501,7 @@ srv_g_swimlane <- function(id,
)
}

teal.reporter::teal_card(q3) <- c(teal.reporter::teal_card(q3), "## Plot")
teal.reporter::teal_card(q3) <- c(teal.reporter::teal_card(q3), "### Plot")

if (!is.null(input$sort_var)) {
teal.reporter::teal_card(q3) <- c(teal.reporter::teal_card(q3), "### Selected Options")
Expand Down
5 changes: 2 additions & 3 deletions R/tm_g_waterfall.R
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,8 @@ srv_g_waterfall <- function(id,
obj <- data()
teal.reporter::teal_card(obj) <-
c(
teal.reporter::teal_card("# Waterfall Plot"),
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's code")
teal.reporter::teal_card("## Module's output(s)")
)
obj <- teal.code::eval_code(obj, "library(dplyr)")

Expand Down Expand Up @@ -520,7 +519,7 @@ srv_g_waterfall <- function(id,
)
}

teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "## Plot")
teal.reporter::teal_card(q1) <- c(teal.reporter::teal_card(q1), "### Plot")

q1 <- teal.code::eval_code(
q1,
Expand Down
Loading