vconcat: Vertically concatenate views

View source: R/helpers.R

vconcatR Documentation

Vertically concatenate views

Description

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

Usage

vconcat(...)

Arguments

...

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

Value

A VitessceConfigViewVConcat 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(vconcat(spatial, gene_list))
vc$widget()

vitessce/vitessceR documentation built on Oct. 12, 2024, 12:24 a.m.