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

1441 Introduce transformators parameter in modules #826

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
801b008
transformators parameter
m7pr Jan 14, 2025
db62734
add transformators to scatterplotmatrix
m7pr Jan 14, 2025
5dc5042
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jan 14, 2025
6ecf511
do not split documentation of decorators
m7pr Jan 14, 2025
3062a2a
Merge branch '1441_transformators@main' of https://github.com/insight…
m7pr Jan 14, 2025
ee4364d
roxygen changes to documentation
m7pr Jan 14, 2025
afcaa08
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jan 14, 2025
d62b083
remove transofmators documentation from shared params as it is alread…
m7pr Jan 14, 2025
ea85953
add a link to vignette
m7pr Jan 14, 2025
96132e1
merge
m7pr Jan 14, 2025
98f129e
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jan 14, 2025
a4df140
Merge branch 'main' into 1441_transformators@main
m7pr Jan 15, 2025
a00f139
Merge branch 'main' into 1441_transformators@main
m7pr Jan 17, 2025
7e89058
unify decorators and transformators default values
m7pr Jan 17, 2025
1208b4e
replace assertions
m7pr Jan 17, 2025
6dec0ec
assertions in regression
m7pr Jan 17, 2025
f3698b4
[skip style] [skip vbump] Restyle files
github-actions[bot] Jan 17, 2025
4a91408
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jan 17, 2025
dc9ebf6
simplify normalize_decorators
m7pr Jan 17, 2025
e5667d7
Merge branch '1441_transformators@main' of https://github.com/insight…
m7pr Jan 17, 2025
7321de5
Update R/utils.R
m7pr Jan 17, 2025
6b6f63e
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jan 17, 2025
582a8a3
revert changes on normalize_decorators
m7pr Jan 17, 2025
fff168d
Merge branch '1441_transformators@main' of https://github.com/insight…
m7pr Jan 17, 2025
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
2 changes: 2 additions & 0 deletions R/tm_a_pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ tm_a_pca <- function(label = "Principal Component Analysis",
size = c(2, 1, 8),
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_a_pca")

Expand Down Expand Up @@ -208,6 +209,7 @@ tm_a_pca <- function(label = "Principal Component Analysis",
decorators = decorators
)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- FALSE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_a_regression.R
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ tm_a_regression <- function(label = "Regression Analysis",
default_plot_type = 1,
default_outlier_label = "USUBJID",
label_segment_threshold = c(0.5, 0, 10),
transformators = list(),
decorators = NULL) {
message("Initializing tm_a_regression")

Expand Down Expand Up @@ -251,6 +252,7 @@ tm_a_regression <- function(label = "Regression Analysis",
decorators = decorators
)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- FALSE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_association.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ tm_g_association <- function(label = "Association",
pre_output = NULL,
post_output = NULL,
ggplot2_args = teal.widgets::ggplot2_args(),
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_association")

Expand Down Expand Up @@ -196,6 +197,7 @@ tm_g_association <- function(label = "Association",
data_extract_list,
list(plot_height = plot_height, plot_width = plot_width, ggplot2_args = ggplot2_args, decorators = decorators)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_bivariate.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ tm_g_bivariate <- function(label = "Bivariate Plots",
ggplot2_args = teal.widgets::ggplot2_args(),
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_bivariate")

Expand Down Expand Up @@ -303,6 +304,7 @@ tm_g_bivariate <- function(label = "Bivariate Plots",
data_extract_list,
list(plot_height = plot_height, plot_width = plot_width, ggplot2_args = ggplot2_args, decorators = decorators)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ tm_g_distribution <- function(label = "Distribution Module",
plot_width = NULL,
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_distribution")

Expand Down Expand Up @@ -221,6 +222,7 @@ tm_g_distribution <- function(label = "Distribution Module",
),
ui = ui_distribution,
ui_args = args,
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_response.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ tm_g_response <- function(label = "Response Plot",
ggplot2_args = teal.widgets::ggplot2_args(),
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_response")

Expand Down Expand Up @@ -229,6 +230,7 @@ tm_g_response <- function(label = "Response Plot",
decorators = decorators
)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_scatterplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ tm_g_scatterplot <- function(label = "Scatterplot",
post_output = NULL,
table_dec = 4,
ggplot2_args = teal.widgets::ggplot2_args(),
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_scatterplot")

Expand Down Expand Up @@ -330,6 +331,7 @@ tm_g_scatterplot <- function(label = "Scatterplot",
decorators = decorators
)
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_g_scatterplotmatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ tm_g_scatterplotmatrix <- function(label = "Scatterplot Matrix",
plot_width = NULL,
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_g_scatterplotmatrix")

Expand Down Expand Up @@ -216,6 +217,7 @@ tm_g_scatterplotmatrix <- function(label = "Scatterplot Matrix",
plot_width = plot_width,
decorators = decorators
),
transformators = transformators,
datanames = teal.transform::get_extract_datanames(variables)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ tm_missing_data <- function(label = "Missing data",
),
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_missing_data")

Expand Down Expand Up @@ -161,6 +162,7 @@ tm_missing_data <- function(label = "Missing data",
decorators = decorators
),
ui = ui_page_missing_data,
transformators = transformators,
datanames = "all",
ui_args = list(pre_output = pre_output, post_output = post_output)
)
Expand Down
2 changes: 2 additions & 0 deletions R/tm_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ tm_outliers <- function(label = "Outliers Module",
plot_width = NULL,
pre_output = NULL,
post_output = NULL,
transformators = list(),
decorators = NULL) {
message("Initializing tm_outliers")

Expand Down Expand Up @@ -221,6 +222,7 @@ tm_outliers <- function(label = "Outliers Module",
),
ui = ui_outliers,
ui_args = args,
transformators = transformators,
datanames = teal.transform::get_extract_datanames(data_extract_list)
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
2 changes: 2 additions & 0 deletions R/tm_t_crosstable.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ tm_t_crosstable <- function(label = "Cross Table",
pre_output = NULL,
post_output = NULL,
basic_table_args = teal.widgets::basic_table_args(),
transformators = list(),
decorators = NULL) {
message("Initializing tm_t_crosstable")

Expand Down Expand Up @@ -184,6 +185,7 @@ tm_t_crosstable <- function(label = "Cross Table",
ui = ui_t_crosstable,
ui_args = ui_args,
server_args = server_args,
transformators = transformators,
datanames = teal.transform::get_extract_datanames(list(x = x, y = y))
)
attr(ans, "teal_bookmarkable") <- TRUE
Expand Down
4 changes: 4 additions & 0 deletions man/tm_a_pca.Rd

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

4 changes: 4 additions & 0 deletions man/tm_a_regression.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_association.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_bivariate.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_distribution.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_response.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_scatterplot.Rd

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

4 changes: 4 additions & 0 deletions man/tm_g_scatterplotmatrix.Rd

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

4 changes: 4 additions & 0 deletions man/tm_missing_data.Rd

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

4 changes: 4 additions & 0 deletions man/tm_outliers.Rd

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

4 changes: 4 additions & 0 deletions man/tm_t_crosstable.Rd

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

Loading