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("My config")
ds <- vc$add_dataset("My dataset")
spatial <- vc$add_view(ds, Component$SPATIAL)
gene_list <- vc$add_view(ds, Component$GENES)
vc$layout(hconcat(spatial, gene_list))
vc$widget()