View source: R/shiny-rave-compcontainer.R
new_rave_shiny_component_container | R Documentation |
Creates a container for preset components
new_rave_shiny_component_container( module_id, pipeline_name, pipeline_path = raveio::pipeline_find(pipeline_name), settings_file = "settings.yaml" )
module_id |
'RAVE' module ID |
pipeline_name |
the name of pipeline to run |
pipeline_path |
path of the pipeline |
settings_file |
the settings file of the pipeline, usually stores the
pipeline input information; default is |
A 'RAVEShinyComponentContainer'
instance
f <- tempfile() dir.create(f, showWarnings = FALSE, recursive = TRUE) file.create(file.path(f, "settings.yaml")) container <- new_rave_shiny_component_container( module_id = "module_power_phase_coherence", pipeline_name = "power_phase_coherence_pipeline", pipeline_path = f ) loader_project <- presets_loader_project() loader_subject <- presets_loader_subject() container$add_components( loader_project, loader_subject )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.