forked from jokergoo/ComplexHeatmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
executable file
·415 lines (267 loc) · 12 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
CHANGES in VERSION 1.15.1
* random colors are generated by new `rand_color()` function in circlize package.
* add `density_param` in `densityHeatmap()` function
* annotations with duplicated names have no legends any more
* re-implement `grid.xaxis()` to draw axis labels rotated 90 degrees
* grids in discrete legend are arranged by rows if ncol > 1
* raster image is generated in a independent R session
* empty string in annotation or heatmap is mapped to NA
* annotation and heatmap legends can be merged into one column.
* change the default value of `row_names_max_width` and `column_names_max_height`
=======================
CHANGES in VERSION 1.13.2
* add `packLegend()`
========================
CHANGES in VERSION 1.13.1
* `Heatmap()`: add `km_title` to set the format of row title when `km` is set
* `anno_link()`: add `extend` to extend the regions for the labels
* `anno_boxplot()`: for row annotation, outliers are in the correct in y-axis.
Thanks @gtg602c for the fix
* `HeatmapAnnotation()`: gaps are included in the size of the annotations
* `anno_link()`: graphic parameters are correctly reordered
* `densityHeatmap()`: viewport is created with `clip = TRUE`
* `decorate_*()`: add `envir` option to control where to look for variables inside `code`
* `Legend()`: title supports expression
* `anno_*()`: if the input is a data frame, warn that users may convert it to matrix
========================
CHANGES in VERSION 1.11.8
* `anno_barplot()`: accept a matrix as input to plot stacked barplots
=========================
CHANGES in VERSION 1.11.7
* SingleAnnotation: if `col` is a vector with no names, it will be assigned
as `level(value)` or `unique(value)`
* HeatmapAnnotation: give warnings if color is defined while with no annotations
* HeatmapAnnotation: check `col`, if it is not valid, give warnings
* catch error when making annotation graphics
==========================
CHANGES in VERSION 1.11.6
* simply bump the verison number
* `gap` in `Heatmap()` now can be a vector
===========================
CHANGES in VERSION 1.11.5
* `gap` in `HeatmapAnnotation` has been adjusted
* annotations support drawing names of either sides
* `densityHeatmap()`: quantile lines are also reordered
* export `anno_oncoprint_barplot`
* `Heatmap()`: if `col` is a unnamed vector and the number of colors is same as
unique itemes in `mat`, the name of `col` vector is set to `sort(unique(mat))
* adjusted the order of annotation legends
* discreat legend: if a level is not in the data while defined by `col`, it will
be removed.
=============================
CHANGES in VERSION 1.11.2
* `grid.dendrogram()`: do not draw dendrogram if the height is zero
* `densityHeatmap()`: support clustering on columns and more controls on column settings
=============================
CHANGES in VERSION 1.11.1
* `draw,HeatmapList-method` can control row order and clustering of the main heatmap
=============================
CHANGES in VERSION 1.9.7
* add `Legend()` function which is more flexible to generate
different types of legends.
============================
CHANGES in VERSION 1.9.6
* `color_mapping_legend()`, there are ticks on continuous color bar
=============================
CHANGES in VERSION 1.9.5
* add a section in the vignette to show how to adjust positions
of column names when there are bottom annotations.
* fixed a bug that character NA values can not to assigned with na_col
* extra character 'at' and 'labels' in legends will be removed automatically
* all arguments which are passed to `make_layout()` are all explicitly put
in `draw()` instead of using ...
=============================
CHANGES in VERSION 1.9.4
* heatmap bodied can be set as raster images if number of rows are too huge
==============================
CHANGES in VERSION 1.9.3
* graphic parameters are correctly recycled in row annotations
* if there is only one row after splitting, there will be no dendrogram
* add `range` option in `densityHeatmap()`
* when `gap` is set for the main heatmap, other heatmps also adjust their `gap` values to it
* fixed a bug that when rownames/colnames are not complete, dendrograms are corrupted
* `alter_fun` now supports adding graphics grid by grid
* add `show_pct` option in `oncoPrint()`
* add `column_order` in `densityHeatmap()`
==============================
CHANGES in VERSION 1.9.2
* imporved example of `anno_link()`
==============================
CHANGES in VERSION 1.9.1
* width of the heatmap body are calculated correctly if it is set as a fixed unit
* there is no dendrogram is nrows in a row-slice is 1
* add `anno_link()` annotation function
* bottom annotations are attached to the bottom edge of the heatmap
if there are additional blank space
* colors for NA can be set by "_NA_" in annotations
* `row_dend_reorder` and `column_dend_reorder` are set to `TRUE` by default again -_-!!
* optimize the way to specify na_col in heatmap annotations
* correct wrong viewport names in decorate_* functions
===============================
CHANGES in VERSION 1.7.3
* `oncoPrint()`: add `barplot_ignore` option to remove alterations
that are not put on the barplot.
* `oncoPrint()`: delete extra alter_fun if they are not in the matrix
================================
CHANGES in VERSION 1.7.2
* for `anno_points()`, `anno_barplot()`, `anno_boxplot()`, the name is assigned
to the viewport with data ranges
* oncoPrint(): top_annotation is assigned with correct height
===============================
CHANGES in VERSION 1.7.1
* `x` and `y` are `unit` object now in `cell_fun`
* add an example to visualize GO game
* transparency is kept when making discreate color mappings
* `oncoPrint()`: barplots on top now are controlled by `top_annotation` argument
================================
CHANGES in VERSION 1.5.1
* `oncoPrint`: there are default graphics if type of alterations is
less than two.
* `anno_*`: get rid of lazy loading
=================================
CHANGES in VERSION 1.4.4
* NULL can be added to the heatmap list
* give message if users mess up with row and column annotations
* `oncoPrint`: columns are sorted by `memo sort` method to enhance
the mutual exclusivity.
==================================
CHANGES in VERSION 1.4.3
* `anno_boxplot`: outliers can correctly plotted
* add a new function `enhanced_basicplot`
* fix a bug that order of annotation height is reversed
===================================
CHANGES in VERSION 1.4.2
* order of annotations can be adjusted arbitrarily
* anno_barplot: scales are adjusted according to the baseline
===================================
CHANGES in VERSION 1.4.1
* revised the vignettes
===================================
CHANGES in VERSION 1.4.0
* returned value for `draw` method has been changes
* add `row_order`, `column_order`, `row_dend` and `column_dend`
to extract orders and dendrograms after heatmap clustering
* add `select` function to interactively select sub region in the heatmap
and retrieve row/column index in the selected sub region.
* renames all varialbes `*hclust*` to `*dend*`
====================================
CHANGES in VERSION 1.3.3
* set `row_reorder` and `column_reorder` to FALSE by default in `Heatmap()`
=====================================
CHANGES in VERSION 1.3.2
* fixed the error in the vignette header
======================================
CHANGES in VERSION 1.3.1
* padding of whole plot are correctly set now
=======================================
CHANGES in VERSION 1.3.0
* parameters for legend are specified by a list
* vignette was split into several vignettes which focus on specific topics
* ColorMapping class suppoorts `at` and `labels`
* add `row_anno_*` and `column_anno_*` functions
* `anno_barplot` add `baseline` option to define the baseline of bars
* change default colors for matrix
* allow heatmap with zero-row
* heatmap components can all have absolute units
* add `oncoPriint()`
=========================================
CHANGES in VERSION 1.2.8
* add decorate* functions
=========================================
CHANGES in VERSION 1.2.7
* add `rows_reorder_weight` and `columns_reorder_weight` in `Heatmap()`
* `draw,HeatmapList-method` returns a list of orders
* clustering is stored as dendrogram internally
=========================================
CHANGES in VERSION 1.2.6
* graphical parameters for row names can be set as same length
as row slices
* graphical parameters for annotation functions are consistent with
the matrix now
* insert `k = NULL` into anno_function if they are row annotations
* add a new vignette "quick examples"
* change style for continuous legend color bar
* label order of discrete legend has been adjusted (now it is from top to bottom)
=========================================
CHANGES in VERSION 1.2.5
* add dependency of base packages
=========================================
CHANGES in VERSION 1.2.4
* name for ColorMapping object has default value now.
* legend for continuous values can be set as continuous legends
* row title and column title as well as legend title support expression
* add `heatmap_legend_title` in `Heatmap` and `ColorMapping`
* fixed a bug in `plotDataFrame`
==========================================
CHANGES in VERSION 1.2.3
* `color_mapping_legend` can produce a continuous color legend
* `color_mapping_legend` now returns a grob object
===========================================
CHANGES in VERSION 1.2.2
* adjust positions for row titles
* rows can be split if `cluster_rows` are a clustering object
* `row_order` and `column_order` can be set by dimension names
===========================================
CHANGES in VERSION 1.2.1
* adjust orders of row slices
* support text rotation for heatmap titles
===========================================
CHANGES in VERSION 1.2.0
* correct row orders if km and row_order is set in `Heatmap`
===========================================
CHANGES in VERSION 1.1.9
* adjust names and size of each component
* add `densityHeatmap` function which visualizes column distribution
in a matrix
* add `plotDataFrame` function which provides a quick way to
visualize a data frame
============================================
CHANGES in VERSION 1.1.8
* dendrograms are implemented by `grid.segments`
* setting padding for each component
* adjust gaps between heatmaps/row annotations if the column of the
heatmap is zero.
============================================
CHANGES IN VERSION 1.1.7
* check consistency of matrix row names
=============================================
CHANGES IN VERSION 1.1.6
* improved generation of random colors
* order of heatmap annotation legends are same as the order of annotations
* support NA value in simple annotations
* add examples in the vignette
* simple row annotations now have the correct order
* `col` can be a vector of colors if matrix is continuous
* simple annotation can be logical
==============================================
CHANGES IN VERSION 1.1.5
* add gaps between heatmap components
===============================================
CHANGES IN VERSION 1.1.4
* support color mapping for NA values
===============================================
CHANGES IN VERSION 1.1.3
* Improved vignette to describe how to use row index in row annotation function
if row annotations are also splitted by rows.
===============================================
CHANGES IN VERSION 1.1.2
* `anno_density`: graphics are now in correct order
* add `anno_text`
* add new examples corresponding to new functions
================================================
CHANGES IN VERSION 1.1.1
* fixed a bug when setting `cluster_rows` to FALSE but still cluster
on rows.
* add `rowAnnotation` and `columnAnnotation` functions
* add examples in the vignette
* No error if the heatmap list only contains zero-column matrix
=================================================
CHANGES IN VERSION 0.99.2
* add two examples in vignette
* add chunk labels in the vignette
=================================================
CHANGES IN VERSION 0.99.1
* x and y in `cell_fun` are now `unit` objects.
=================================================
CHANGES IN VERSION 0.99.0
* First release