Package: ggalign 0.0.5.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]

ggalign_0.0.5.9000.tar.gz
ggalign_0.0.5.9000.zip(r-4.5)ggalign_0.0.5.9000.zip(r-4.4)ggalign_0.0.5.9000.zip(r-4.3)
ggalign_0.0.5.9000.tgz(r-4.4-any)ggalign_0.0.5.9000.tgz(r-4.3-any)
ggalign_0.0.5.9000.tar.gz(r-4.5-noble)ggalign_0.0.5.9000.tar.gz(r-4.4-noble)
ggalign_0.0.5.9000.tgz(r-4.4-emscripten)ggalign_0.0.5.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-visualizationheatmapsmarginal-plotsoncoplotoncoprint

6.65 score 185 stars 24 scripts 928 downloads 92 exports 28 dependencies

Last updated 3 hours agofrom:6b2097e793. Checks:ERROR: 7. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 22 2024
R-4.5-winERRORNov 22 2024
R-4.5-linuxERRORNov 22 2024
R-4.4-winERRORNov 22 2024
R-4.4-macERRORNov 22 2024
R-4.3-winERRORNov 22 2024
R-4.3-macERRORNov 22 2024

Exports:activealignAlignalign_dendroalign_ggalign_groupalign_kmeansalign_orderalign_panelalign_plotsalign_reorderalignpatchanno_bottomanno_leftanno_rightanno_topareadendrogram_datadraw_key_drawfortify_data_framefortify_matrixfree_alignfree_borderfree_ggfree_guidefree_labfree_spacefree_vpgeom_drawgeom_piegeom_subrectgeom_subtileggalignggalign_attrggalign_attr_getggalign_attr_setggalign_statggalignGrobggfreeggheatmapggoncoplotggpanelggsideggstackggwrapgparhclust2heatmap_layouthmannoinsetis_ggheatmapis_heatmap_layoutis_layoutis_quad_layoutis_stack_layoutlayer_orderlayout_annotationlayout_designlayout_titleOpsorder2patchpatch_titlesplot_alignplot_dataplot_themequad_activequad_alignbquad_alignhquad_alignvquad_annoquad_freequad_initquad_layoutquad_switchraster_magickread_examplescale_draw_manualshowstack_activestack_alignstack_alignhstack_alignvstack_freestack_freehstack_freevstack_layoutstack_switchtheme_ggaligntheme_no_axesunitwith_quad

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Plot Adding Context Settingsactive
Reorder or Group observations based on hierarchical clusteringalign_dendro
Create ggplot objectalign_gg ggalign
Group and align observations based on a group vectoralign_group
Split observations by k-means clustering groups.align_kmeans
Order observations based on weightsalign_order
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
Key glyphs for legendsdraw_key_draw
Build a data framefortify_data_frame
Build a data framefortify_data_frame.character
Build a data framefortify_data_frame.complex
Build a data framefortify_data_frame.default
Build a data framefortify_data_frame.logical
Build a data framefortify_data_frame.matrix
Build a data framefortify_data_frame.numeric
Build a Matrixfortify_matrix
Build a Matrixfortify_matrix.default
Build a Matrixfortify_matrix.GISTIC
Build a Matrixfortify_matrix.MAF
Free from alignmentfree_align free_border free_guide free_lab free_space free_vp
Add ggplot to layoutfree_gg free_gg.default free_gg.ggplot ggfree
Layer with customized draw functiongeom_draw
Pie chartsgeom_pie
Subdivide Rectanglesgeom_subrect geom_subtile
Get Data from the Attached Attribute in the Rendering Processggalign_attr
Set or get the Attached Attribute across the Rendering Processggalign_attr_get ggalign_attr_set
Get the statistics from the layoutggalign_stat ggalign_stat.QuadLayout ggalign_stat.StackLayout
Generate a plot grob.ggalignGrob
Create 'OncoPrint' Visualizations from Genetic Alteration Dataggoncoplot ggoncoplot.default
Wrap Arbitrary Graphics to ggplotggwrap
Generate Tree Structures with Hierarchical Clusteringhclust2
Arrange Plots in a Heatmapggheatmap heatmap_layout
Create a ggplot insetinset
Reports whether 'x' is layout objectis_ggheatmap is_heatmap_layout is_layout is_quad_layout is_stack_layout
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
Layout operator&.ggheatmap &.ggside &.HeatmapLayout &.QuadLayout &.StackLayout +.ggheatmap +.ggside +.HeatmapLayout +.QuadLayout +.StackLayout -.ggheatmap -.ggside -.HeatmapLayout -.QuadLayout -.StackLayout layout-operator Ops,QuadLayout,ANY-method Ops,StackLayout,ANY-method
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
Align Specifications in the Layoutplot_align
Plot data Specificationsplot_data
Plot default themeplot_theme
Determine the Active Context of Quad-Layoutanno_bottom anno_left anno_right anno_top quad_active quad_anno
Arrange Plots in the Quad-Side of a main plotggside quad_alignb quad_alignh quad_alignv quad_free
Initialize Quad-Layout Annotationquad_init
Arrange Plots in the Quad-Side of a main plotquad_layout
Determine the Active Context of Quad-Layouthmanno quad_switch
Rasterize the input objectraster_magick
Read Example Dataread_example
Scale for 'draw' aestheticscale_draw_manual
Arrange Plots Horizontally or Verticallystack_align stack_alignh stack_alignv stack_free stack_freeh stack_freev
Put plots horizontally or verticallyggstack stack_layout
Determine the active context of stack layoutstack_active stack_switch
Theme for Layout Plotstheme_ggalign
Remove axis elementstheme_no_axes
Modify operated Context in 'quad_layout()'with_quad