write_config: Write Trelliscope app configuration file

View source: R/json_writers.R

write_configR Documentation

Write Trelliscope app configuration file

Description

Write Trelliscope app configuration file

Usage

write_config(
  base_path,
  id,
  self_contained = FALSE,
  jsonp = TRUE,
  require_token = FALSE,
  disclaimer = FALSE,
  split_layout = FALSE,
  has_legend = FALSE
)

Arguments

base_path

the base directory of the trelliscope application

id

a unique id for the application

self_contained

should the Trelliscope display be a self-contained html document?

jsonp

should json for app config be jsonp (TRUE) or json (FALSE)?

require_token

require a special token for all displays to be visible (experimental)

disclaimer

an optional string of html to include as a disclaimer for the set of displays

split_layout

boolean that determines if the layout is split into components like a facet_grid vs. individual panels like facet_wrap. Only applies to ggplot2 plot objects.

has_legend

should a legend be reported for split_layout


trelliscopejs documentation built on Aug. 8, 2025, 6:40 p.m.