Package: ggalign 0.0.4.9000

ggalign: A 'ggplot2' Extension for Consistent Axis Alignment

A 'ggplot2' extension offers various tools for organizing and arranging plots. It is designed to consistently align a specific axis across multiple 'ggplot' objects, making it especially useful for plots requiring data order manipulation. A typical use case includes organizing combinations like a dendrogram and a heatmap.

Authors:Yun Peng [aut, cre, cph]

ggalign_0.0.4.9000.tar.gz
ggalign_0.0.4.9000.zip(r-4.5)ggalign_0.0.4.9000.zip(r-4.4)ggalign_0.0.4.9000.zip(r-4.3)
ggalign_0.0.4.9000.tgz(r-4.4-any)ggalign_0.0.4.9000.tgz(r-4.3-any)
ggalign_0.0.4.9000.tar.gz(r-4.5-noble)ggalign_0.0.4.9000.tar.gz(r-4.4-noble)
ggalign_0.0.4.9000.tgz(r-4.4-emscripten)ggalign_0.0.4.9000.tgz(r-4.3-emscripten)
ggalign.pdf |ggalign.html
ggalign/json (API)
NEWS

# Install 'ggalign' in R:
install.packages('ggalign', repos = c('https://yunuuuu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yunuuuu/ggalign/issues

On CRAN:

complex-heatmapsdendrogramdendrogram-heatmapggplotggplot-extensionggplot2heatmapheatmap-visualizationheatmaps

8.09 score 116 stars 18 scripts 491 downloads 51 exports 28 dependencies

Last updated 8 hours agofrom:d8272459bc. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 22 2024
R-4.5-winOKOct 22 2024
R-4.5-linuxOKOct 22 2024
R-4.4-winNOTEOct 22 2024
R-4.4-macNOTEOct 22 2024
R-4.3-winNOTEOct 22 2024
R-4.3-macNOTEOct 22 2024

Exports:alignAlignalign_dendroalign_ggalign_groupalign_kmeansalign_orderalign_panelalign_plotsalign_reorderalignpatchareadendrogram_datafortify_heatmapfortify_stackfree_alignfree_borderfree_guidefree_labfree_spacefree_vpggalignggalign_attrggalign_statggalignGrobggheatmapggoncoplotggpanelggstackgparhclust2heatmap_layouthmannoinsetis_ggheatmapis_ggstacklayer_orderlayout_annotationlayout_designlayout_titleorder2patchpatch_titlesplot_actionread_exampleshowstack_activestack_layouttheme_ggalignunitwrap

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Complete Examples

Rendered fromcomplete-examples.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-14
Started: 2024-09-25

Heatmap Layout

Rendered fromheatmap-layout.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-22
Started: 2024-09-22

Layout Customization

Rendered fromlayout-customize.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-11
Started: 2024-09-22

Layout Plot

Rendered fromlayout-plot.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-22
Started: 2024-09-22

Plot composer

Rendered fromplot-composer.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-21
Started: 2024-09-29

Special Syntax for Layout Axis

Rendered fromspecial-syntax.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-17
Started: 2024-10-11

Stack Layout

Rendered fromstack-layout.Rmdusingknitr::rmarkdownon Oct 22 2024.

Last update: 2024-10-22
Started: 2024-09-22

Readme and manuals

Help Manual

Help pageTopics
Reorder or Group layout based on hierarchical clusteringalign_dendro
Create ggplot object with a customized dataalign_gg ggalign
Group and align layout based on categorical or factor levels.align_group
Split layout by k-means clustering groups.align_kmeans
Order layout observations based on weightsalign_order
Create ggplot object with layout panel dataalign_panel ggpanel
Arrange multiple plots into a gridalign_plots
Reorders layout observations based on specific statistics.align_reorder
Define the plotting areas in 'align_plots'area
Dengrogram x and y coordinatesdendrogram_data
Build data for the heatmap layoutfortify_heatmap
Build data for the heatmap layoutfortify_heatmap.MAF
Build data for the heatmap layoutfortify_heatmap.matrix
Build data for the stack layoutfortify_stack
Free from alignmentfree_align free_border free_guide free_lab free_space free_vp
Get a field data from the 'ggalign' attributeggalign_attr
Get the statistics from the layoutggalign_stat ggalign_stat.HeatmapLayout ggalign_stat.StackLayout
Generate a plot grob.ggalignGrob
Create 'OncoPrint' Visualizations from Genetic Alteration Dataggoncoplot ggoncoplot.default
Generate Tree Structures with Hierarchical Clusteringhclust2
Arrange plots in a Heatmapggheatmap heatmap_layout
Determine the active context of heatmap layouthmanno
Create a ggplot insetinset
Reports whether 'x' is a 'heatmap_layout()' objectis_ggheatmap
Reports whether 'x' is a 'StackLayout' objectis_ggstack
Change the layer adding orderlayer_order
Modify components of the layoutlayout_annotation
Define the grid to compose plots inlayout_design
Annotate the whole layoutlayout_title
Add components to 'Layout'+,Layout,ANY-method +.ggheatmap +.ggstack +.HeatmapLayout +.Layout +.StackLayout layout-add
Layout operator&,Layout,ANY-method &.ggheatmap &.ggstack &.HeatmapLayout &.Layout &.StackLayout -,Layout,ANY-method -.ggheatmap -.ggstack -.HeatmapLayout -.Layout -.StackLayout layout-operator
Ordering Permutationorder2 order2.dendrogram order2.hclust order2.ser_permutation order2.ser_permutation_vector
Add patch titles to plot borderspatch_titles
Convert Object into a Grobpatch.alignpatches
Convert Object into a Grobpatch.formula patch.function
Convert Object into a Grobpatch.ggplot
Convert Object into a Grobpatch.gList patch.grob
Convert Object into a Grobpatch.Heatmap patch.HeatmapAnnotation patch.HeatmapList
Convert Object into a Grobpatch.patch
Convert Object into a Grobpatch.patch_ggplot
Convert Object into a Grobpatch.patchwork
Convert Object into a Grobpatch.pheatmap
Convert Object into a Grobpatch.recordedplot
Convert Object into a Grobpatch.trellis
Plot Action Specifications in the Layoutplot_action
Read Example Dataread_example
Determine the active context of stack layoutstack_active
Put plots horizontally or verticallyggstack stack_layout
Complete theme for layout plotstheme_ggalign
Wrap Arbitrary Graphics for Alignmentwrap