Releases: Yunuuuu/ggalign
ggalign 0.0.4
-
layout_heatmap()
/ggheatmap()
arguments width/height have been renamed.width
/.height
to helps avoid conflicts with arguments fromgeom_tile()
. -
the nestet alignpatches theme by default will inherit from the parent alignpatches
-
new
layout_title()
function, nowlayout_annotation()
only control the layout theme -
add
ggrastr::rasterize
method for bothggheatmap()
andggstack()
-
set_context
argument inalign_dendro()
now depends onplot_dendrogram
by default -
align_dendro()
gain a new argumentreorder_dendrogram
to control whether to reorder the generated dendrogram based on the mean values. -
align_reorder()
now splitted into two functionalign_order()
andalign_reorder()
-
dendrogram_data()
gain a new argumentreorder_branches
to control whether to reorder the inputleaf_braches
based on the tree. -
align_dendro()
gain new argumentmerge_dendrogram
to control whether the dendrograms in multiple groups should be merged -
dendrogram height axis will be automatically reversed in bottom and left annotation stack
-
heatmap fill color scale now default use
scale_fill_gradient2(low = "blue", high = "red")
for continuous values. -
Coord
is used to set limits instead ofScale
-
all
free_*
arguments now accept the same argument of the correspondingfree_*
functions. -
new
theme_ggalign()
function for the default theme of ggalign package -
export option
ggalign.default_theme
allow user to change the global default theme -
new
free_guide()
function, to override the layout guides argument for single plot -
geom_draw()
now utilizepatch()
function to convert objects into grob -
internal changes: all vectors have been operated with
vctrs
package -
stack_layout()
: gainsizes
argument to control the relative sizes of the stack -
align_()*
: noworder
argument only control the plot area. -
align_reorder()
now can accept an ordering character names. -
export
order2()
function -
align_reorder()
: fun argument has been renamed toorder
argument, and it can now accept the ordering integer index directly -
fun
inalign_reorder()
now can return any statistics which can be handled byorder2()
-
fix
ggheatmap()
order not work when put in a stack layout -
method
inhclust2()
can now return any objects which can be coerced into hclust, or you can provide such object directly inmethod
. -
hclust2()
now can acceptdistance = NULL
-
hmanno()
,stack_active()
, andalign_*()
functions gain a new argumenttheme
to control the theme for the plot. -
new
layout_annotation()
andlayout_theme()
to modify the layout components -
borders
argument infree_space()
has been renamed tospaces
-
{tibble} is now removed from the dependency
-
align_plots()
now can acceptgList
,function
,recordedplot
,trellis
,pheatmap
,Heatmap
,HeatmapAnnotation
, andHeatmapList
, we have addedalignpatch
method for these objects. -
add
patch
method forgList
,function
,recordedplot
,trellis
,pheatmap
,Heatmap
,HeatmapAnnotation
, andHeatmapList
-
fix a bug in
wrap()
function where duplicated names in gtable cause some grobs missing -
new
free_vp()
function to customize the viewport when aligning. -
StackLayout
andHeatmapLayout
methods have been collapsed into one method forLayout
class -
New
Patch
class, now we can extend the alignment process of any object and customize the building process withggproto
. -
fix missing variable
labs
in thefree_space
method ofPatchAlignpatches
ggalign v0.0.3
ggalign 0.0.3
-
Add package logo
-
new
inset()
function -
add package quotes in DESCRIPTION
-
add return value docs for exported function or methods
ggalign 0.0.2
- omit the redudnant description and add single quote for package name
ggalign 0.0.1
Features
- Heatmap layout: Arrange ggplot into a Heatmap.
- Stack layout: Arrange ggplot vertically or horizontally.
- Customize layouts or add plots:
align_group()
: Group layout axis into panelalign_kmeans()
: Group layout observations by kmeansalign_reorder()
: Reorder layout observationsalign_dendro()
: Reorder or Group layout based on Hierarchical Clusteringalign_gg()
/ggalign()
: Create ggplot object in the layoutalign_panel()
/ggpanel()
: Create ggplot object based on the layout panel data.
Full Changelog: https://github.com/Yunuuuu/ggalign/commits/v0.0.3