View source: R/plot_functions.R
| create_data_focus_plots | R Documentation |
Create Data Focus Plots
create_data_focus_plots(data_list, config)
data_list |
A list of tibbles |
config |
A named list that has the "plot" name. The "plot" value must be a named list with the "x" name, which is a name in each tibble in the data list, and a "fill" name with is a list of columns, equal to the length of the data list. |
data_list <- list(
"Assays" = dplyr::tribble(
~Study, ~Assays,
"s1", "a1",
"s1", "a2"
),
"Resources" = dplyr::tribble(
~Study, ~Resources,
"s1", "r1",
"s1", "r1"
)
)
config <- list(
"plot" = list(
"x" = "Study",
"fill" = list(
"Assay",
"Resources"
)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.