hconcat: Horizontally concatenate views

View source: R/helpers.R

hconcatR Documentation

Horizontally concatenate views

Description

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

keller-mark/vitessce-htmlwidget documentation built on Oct. 12, 2024, 10:51 p.m.