A helper function to construct a new VitessceConfigViewHConcat
object based on multiple views.
Arguments
- ...
A variable number of
VitessceConfigView
,VitessceConfigViewHConcat
, orVitessceConfigViewVConcat
objects.
Examples
vc <- VitessceConfig$new(schema_version = "1.0.16", name = "My config")
ds <- vc$add_dataset("My dataset")
spatial <- vc$add_view(ds, Component$SPATIAL)
gene_list <- vc$add_view(ds, Component$FEATURE_LIST)
vc$layout(hconcat(spatial, gene_list))
vc$widget()