create_data_focus_plots: Create Data Focus Plots

View source: R/plot_functions.R

create_data_focus_plotsR Documentation

Create Data Focus Plots

Description

Create Data Focus Plots

Usage

create_data_focus_plots(data_list, config)

Arguments

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.

Examples

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"
    )
  )
)

Sage-Bionetworks/projectliveModules documentation built on June 26, 2022, 1:11 a.m.