Breaking changes
-
direction
argument instack_layout()
/ggstack()
is soft-deprecated now, user must provide it manually. -
set_context
,order
, andname
arguments inalign_*()
andggheatmap()
are soft-deprecated, which is advised to useactive
argument. -
guides
,free_guides
,free_spaces
,free_labs
, andplot_data
arguments inalign_*()
andggheatmap()
are deprecated, which is advised to useplot_align
function instead. -
theme
argument inalign_*()
andggheatmap()
is deprecated, which is advised to useplot_theme
function. -
what
argument instack_active()
is soft-deprecated, user is advised to usestack_switch()
to change the active plot withwhat
. -
align_panel()
/ggpanel()
is deprecated, user is advised to useggalign(data = NULL)
instead.
New features
-
new
quad_layout()
to create layout allowing free from alignment. -
new
quad_alignv()
,quad_alignh()
,quad_free()
/ggside()
,quad_alignb()
alias forquad_layout()
. -
stack_layout()
now gains atype
argument to control whether the layout should align observations. -
new
ggoncoplot()
function to draw oncoprint. -
new
ggfree()
function to add ggplot to the layout. -
new
fortify_matrix()
function to convert any objects to a matrix, and addfortify_matrix()
method forMAF
object. -
new
fortify_data_frame()
function to convert any objects to a data frame. -
now, a special attribute
ggalign
can be used to pass additional informations across the building process, and a new functionggalign_attr()
can be used to extract the data from the attribute. -
new
plot_theme()
function to control the default theme of the plot in layout. -
new
plot_data()
function to control the data transformation of the plot in layout. -
new
plot_align()
function to control specifications of the plot in layout. -
new
with_quad()
function to control the-
operator context. -
new
quad_init()
function to initialize the annotation with self-provided data. -
new
stack_switch()
andquad_switch()
to switch active plots forstack_layout()
andquad_layout()
. -
new
anno_top()
,anno_left()
,anno_bottom()
andanno_right()
alias for add annotation inquad_layout()
. -
align_dendro()
gain a new argumentcutree
to customize the process of tree cutting. -
reorder_dendrogram
argument inalign_dendro()
function now can accept a function to reorder the tree. -
new
layer_order()
function to change the ggplot2 layer adding order. -
new
theme_no_axes()
function to remove axis elements. -
new
geom_pie()
function to draw pie charts.
Bug fixes
-
fix bug when apply
free_border
inalignpatches
object. -
fix bug when provide a function in
distance
argument ofalign_dendro()
-
fix bug when provide
hclust
ordendrogram
in method argument ofalign_dendro()
-
fix bug of
coord_ggalign()
for discrete scale
Improvements
-
merge
function has been implemented withvctrs
for performance -
for large matrix (> 20000 cells), automatically use
geom_raster()
-
{data.table} is now removed from the dependency