| VitessceConfigView | R Documentation |
Class representing a view in a Vitessce view config.
View in a VitessceConfig
new()Create a new view object.
VitessceConfigView$new(component, coordination_scopes, x, y, w, h)
componentA component name.
coordination_scopesA list of the coordination scope mappings for each coordination type.
xThe x-coordinate of the view in the layout.
yThe y-coordinate of the view in the layout.
wThe width of the view in the layout.
hThe height of the view in the layout.
A new VitessceConfigView object.
use_coordination()Link this view to existing coordination scope(s).
VitessceConfigView$use_coordination(c_scopes)
c_scopesA list of VitessceConfigCoordinationScope objects to use.
Invisible self, to allow chaining.
use_coordination_by_dict()VitessceConfigView$use_coordination_by_dict(scopes)
use_meta_coordination()VitessceConfigView$use_meta_coordination(meta_scope)
set_xywh()Set the dimensions of the view.
VitessceConfigView$set_xywh(x, y, w, h)
xThe x-coordinate of the view in the layout.
yThe y-coordinate of the view in the layout.
wThe width of the view in the layout.
hThe height of the view in the layout.
Self, to allow chaining.
set_props()Set additional props for this view.
VitessceConfigView$set_props(...)
...Any named props to set.
Self, to allow chaining.
to_list()Convert the object to an R list. Helpful when converting the config to JSON.
VitessceConfigView$to_list()
A list that can be serialized to JSON using rjson.
clone()The objects of this class are cloneable with this method.
VitessceConfigView$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.