ggalign1.1.0 package

A 'ggplot2' Extension for Composable Visualization

layout_design

Define the grid to compose plots in

layout_expand

Set Expansion for the Layout

link_tetragon

Link the paired observations with a quadrilateral

magickGrob

Rasterize a grob object with magick

patch.Heatmap

Convert Object into a Grob

patch.patch_ggplot

Convert Object into a Grob

patch.patch

Convert Object into a Grob

patch.patchwork

Convert Object into a Grob

patch.pheatmap

Convert Object into a Grob

patch

Convert Object into a Grob

patch.recordedplot

Convert Object into a Grob

order2

Ordering Permutation

tune

Change the shape of the input object

with_quad

Create ggplot object with layout panel data

active

Plot Adding Context Settings

align_dendro

Plot dendrogram tree

align_group

Group and align observations based on a group vector

align_hclust

Reorder or Group observations based on hierarchical clustering

free

Free from alignment

align_kmeans

Split observations by k-means clustering groups.

align_order

Order observations based on weights

align_order2

Reorders layout observations based on specific statistics.

align_panel

Create ggplot object with layout panel data

align_phylo

Plot Phylogenetics tree

is_layout

Reports whether x is layout object

align_plots

Arrange multiple plots into a grid

align

Create a New CraftBox Object with CraftAlign craftsman

alignpatch

Prepare plots to be aligned with align_plots

area

Define the plotting areas in align_plots

circle_genomic

Create a Circular Layout for Genomic Data

circle_layout

Arrange plots in a circular layout

circle_switch

Determine the active context of circle layout

continuous_limits

Set continuous limits for the layout

coord_circle

Polar Coordinates with Enhanced Controls

Craftsman

Craftsman Object for Layout Management

cross_link

Add a plot to connect selected observations

cross_mark

Add a plot to annotate observations

cross_none

Reset layout ordering and panel group

dot-link_draw

Define the links to connect a pair of observations

dot-mark_draw

Define the links to connect the marked observations

draw_key_gshape

Key glyphs for legends

element_vec

Apply a function to the fields of an element object

facet_sector

Polar coordinates with Facet support

fortify_data_frame.character

Build a data frame

fortify_data_frame.default

Build a data frame

fortify_data_frame.dendrogram

Build a data frame

fortify_data_frame.GRanges

Build a data frame

fortify_data_frame.matrix

Build a data frame

fortify_data_frame.phylo

Build a data frame

fortify_data_frame

Build a data frame

fortify_matrix.default

Build a Matrix

fortify_matrix.GISTIC

Build a matrix from a maftools object

fortify_matrix.list_upset

Build a Matrix for UpSet plot

fortify_matrix.MAF

Build a Matrix for OncoPrint

fortify_matrix.matrix_oncoplot

Build a Matrix for OncoPrint

fortify_matrix.matrix_upset

Build a Matrix for UpSet plot

fortify_matrix.matrix

Build a matrix

fortify_matrix

Build a Matrix

genomic_density

Calculate Genomic Region Density

genomic_dist

Calculate inter-region distances for genomic rainfall plots

geom_draw

Layer with Grid or Function

geom_gshape

Layer with a customized shape graphic using grid functions.

geom_magick

Draw images as point shapes using magick

geom_pie

Pie charts

geom_rect3d

Add z-aesthetic for geom_tile

geom_subrect

Subdivide Rectangles

ggalign_attr

Get Data from the Attribute Attached by ggalign

ggalign_data_set

Attach supplementary data and levels for ggalign

ggalign_stat

Get the statistics from the layout

ggalign-package

ggalign: A 'ggplot2' Extension for Composable Visualization

ggalign

Add ggplot by Aligning discrete or continuous variable

ggalignGrob

Generate a plot grob.

ggcross

Connect two layout crosswise

ggfree

Add ggplot to layout without alignment

ggmark

Add a plot to annotate selected observations

ggoncoplot

Create an OncoPrint

layer_order

Change the layer adding order

ggupset

Create an UpSet plot

ggwrap

Wrap Arbitrary Graphics to ggplot

hclust2

Generate Tree Structures with Hierarchical Clustering

heatmap_layout

Create a heatmap

inset

Create a ggplot inset

layout_annotation

Add layout annotation

layout_tags

Control Plot Tagging in Layouts

layout_theme

Modify theme of the layout

layout_title

Annotate the whole layout

layout-operator

Layout operator

Layout-subset

Subset a Layout object

LayoutProto

A Layout object

link_draw

Define the links to connect a pair of observations

link_line

Link the paired observations with a line

mark_draw

Define the links to connect the marked observations

mark_line

Link the observations and the panel with a line

mark_tetragon

Link the observations and the panel with a quadrilateral

mark_triangle

Link the observations and the panel with a triangle

memo_order

Sort matrix for better visualization

new_tune

Change the shape of the input object

no_expansion

Remove scale expansion

pair_links

Helper function to create pairs of observation groups

patch_titles

Add patch titles to plot borders

patch.formula

Convert Object into a Grob

patch.ggalign-colon-colon-AlignPatches

Convert Object into a Grob

patch.ggplot

Convert Object into a Grob

patch.grob

Convert Object into a Grob

patch.trellis

Convert Object into a Grob

plot_add_scheme

Apply a Scheme to a plot

plot_ideogram

Add an aligned cytoband ideogram plot

quad_active

Determine the Active Context of Quad-Layout

quad_init

Initialize Quad-Layout Annotation

quad_layout

Arrange plots in the quad-side of a main plot

quad_scope

Modify operated Context in quad_layout()

quad_switch

Determine the Active Context of Quad-Layout

raster_magick

Rasterize the ggplot layers

read_example

Read Example Data

reexports

Objects exported from other packages

scale_gshape_manual

Scale for gshape aesthetic

scale_z_continuous

z scales

scheme_align

Align Specifications in the Layout

scheme_data

Plot data Specifications

scheme_inherit

Inherit a scheme from a parent

scheme_init

Initialize a scheme object

scheme_theme

Plot default theme

scheme_update

Update the scheme

Scheme

Abstract Scheme Class

Schemes

A container for multiple layout schemes

stack_cross

Arrange plots crosswise horizontally or vertically

stack_genomic

Create a stack Layout for Genomic Data

stack_layout

Arrange plots horizontally or vertically

stack_switch

Determine the active context of stack layout

theme_no_axes

Remove axis elements

tune.list

Convert the shape of a list for fortify method

tune.MAF

Convert the shape of a MAF for fortify method

tune.matrix

Convert the shape of a matrix for fortify method

A 'ggplot2' extension providing an integrative framework for composable visualization, enabling the creation of complex multi-plot layouts such as insets, circular arrangements, and multi-panel compositions. Built on the grammar of graphics, it offers tools to align, stack, and nest plots, simplifying the construction of richly annotated figures for high-dimensional data contexts—such as genomics, transcriptomics, and microbiome studies—by making it easy to link related plots, overlay clustering results, or highlight shared patterns.

  • Maintainer: Yun Peng
  • License: MIT + file LICENSE
  • Last published: 2025-09-11