export_to_files | R Documentation |
A helper function to export files associated with a particular Vitessce configuration to a local directory.
We do not recommend calling this function directly. Instead, use the export()
function on a VitessceConfig
instance.
export_to_files(config, with_config, base_url, out_dir)
config |
An instance of |
with_config |
Should the config be saved in the |
base_url |
If |
out_dir |
The directory for storing exported files. |
If with_config = TRUE
, returns the config after calling to_list
with the specified base_url
.
vc <- VitessceConfig$new(schema_version = "1.0.16", name = "My config")
dataset <- vc$add_dataset("My dataset")
description <- vc$add_view(dataset, Component$DESCRIPTION)
vc$layout(description)
vc$export(to = "files", out_dir = "./data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.