Skip to contents
Chapters and reference

Complete canonical API text; task articles explain the workflows. Usage guide

Builds at the requested size on a temporary measurement device, restoring the previous device. Geometry reflects that device's font metrics. A later save rebuilds on its actual output device, so minor metric differences are possible. Source coordinates and identities remain unchanged.

Usage

R · Example code
export_ggchord_fusion(plot, width = 10, height = 8)

Arguments

plot

A Fusion object.

width, height

Positive canvas dimensions in inches.

Value

A list with panels, instances, connections, fronts, paths, diagnostics and per-panel source layouts. Compositions made with magnify_ggchord() also populate focus_region_data, focus_regions, focus_fronts and decorative leaders; ordinary Fusion objects return empty tables for these fields. Nested leaves use full paths such as detail/center. Composition-scoped focus_region_data_by_composition preserves all original region tables; focus_frame_region_data and focus_frame_region_data_by_composition retain explicit source-frame overrides separately from the real selected intervals. composition_id plus region_row identifies their derived rows. Containers have coordinate = fusion and are not biological interval namespaces. overlaps reports deliberate covering order. source_observations counts display copies only for explicit source_hsp_id; no identity is inferred by comparing values. Requested boxes/angles and resolved allocations remain in panels. All global geometry uses mm. routing_obstacles records measured physical envelopes; routing_corridors records explicit shared display channels and their source-row members. Connections/leaders report route status and collisions. leader_paths stores decorative polyline vertices. These routes do not imply a global optimum or altered biological evidence. metadata includes final outer guide_bounds_mm/guide_sizes_mm and the guide_layout candidate/constraint report; per-guide native positions remain independent. Native composition decorations add content_bounds_mm and content_canvas_mm plus plot_decoration with effective labels and physical envelopes; source coordinates and rows remain unchanged. Nested composition reports also appear in diagnostics.

Examples

R · Example code
data(seq_data_example)
p <- ggchord(seq_data_example) + geom_seq()
f <- ggchord_fusion(p) + fusion_panel(p + coord_collinear(), "detail")
export_ggchord_fusion(f, width = 10, height = 8)$panels
#>        panel_id   side coordinate container_xmin container_xmax container_ymin
#> center   center center      chord           5.08         177.80          4.064
#> detail   detail  right  collinear         185.42         251.46         30.480
#>        container_ymax panel_xmin panel_xmax panel_ymin panel_ymax measurement
#> center        199.136    5.78292   153.9525   31.21717   171.9828    measured
#> detail        172.720  186.12292   236.3879   79.51885   123.6811    measured
#>        geometry_metric_status converged requested_angle requested_distance
#> center               measured      TRUE              NA                 NA
#> detail               measured      TRUE              NA                 NA
#>        auto_angle auto_size_factor requested_box
#> center         NA               NA              
#> detail         NA               NA              

Search documentation

↑ ↓ select · Enter open · Esc close; or browse by task. API and functions