Skip to contents

A helper function to construct a new VitessceConfigViewHConcat object based on multiple views.

Usage

hconcat(...)

Arguments

...

A variable number of VitessceConfigView, VitessceConfigViewHConcat, or VitessceConfigViewVConcat objects.

Value

A VitessceConfigViewHConcat object.

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()