Reads in a JSON file with values for configuring your browser. Looks for assembly, tracks, defaultSession, and theme. Only assembly is explicitly required for a working browser.
json_config(file)
the file path or URL to a JBrowse 2 configuration
a character vector of JSON configuration from a JBrowse 2 configuration file
Note: this is the most advanced API. It offers full control to do anything possible in JavaScript with an embedded JBrowse 2 React component, but comes with a steeper learning curve. For more details on JBrowse 2 configuration, visit: https://jbrowse.org/jb2/docs/config_guide
An example JSON config is provided with this package
if (FALSE) json_config("./config.json")