Reads a JBrowse 2 JSON config file (or URL) into a string to pass as the config argument of JBrowseR(). This is the escape hatch for full control — assembly, tracks, defaultSession, theme, plugins — matching the shape of a JBrowse config.json.

json_config(file)

Arguments

file

path or URL to a JBrowse 2 configuration file

Value

the config file contents as a JSON string

Examples

if (FALSE) { # \dontrun{
JBrowseR(config = json_config("./config.json"))
} # }