-
Notifications
You must be signed in to change notification settings - Fork 1
/
NEWS
393 lines (286 loc) · 14 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
CHANGES IN VERSION 1.8.0
------------------------
o Added support for user-supplied model matrices to DESeq(),
estimateDispersions() and nbinomWaldTest(). This helps
when the model matrix needs to be edited by the user.
CHANGES IN VERSION 1.7.45
-------------------------
o Added a test in rlog for sparse data, mostly zero and some
very large counts, which will give a warning and suggestion
for alternate transformations.
o Added plotSparsity() which will help diagnose issues for using rlog:
data which do not resemble negative binomial due to many genes
with mostly zeros and a few very large counts.
CHANGES IN VERSION 1.7.43
-------------------------
o Added 'replaced' argument to counts() and plotCounts() such
that the assay in "replaceCounts" will be used if it exists.
Raised a minimum dispersion value used in Cook's calculation,
so that other counts in a group with an outlier won't get extreme
Cook's distances themselves.
CHANGES IN VERSION 1.7.32
-------------------------
o Added logic to results() which will zero out the LFC, Wald
statistic and set p-value to 1, for 'contrast' argument
results tables where the contrasted groups all have zero count.
Non-zero LFCs were otherwise occuring due to large differences
in the size factors.
CHANGES IN VERSION 1.7.11
-------------------------
o Added support for user-supplied model matrices to DESeq(),
estimateDispersions() and nbinomWaldTest().
CHANGES IN VERSION 1.7.9
------------------------
o Added Genome Biology citation for the DESeq2 methods.
o Introduced type="iterate" for estimateSizeFactors,
an alternative estimator for the size factors, which
can be used even when all genes have a sample with a
count of zero. See man page for details.
CHANGES IN VERSION 1.7.3
------------------------
o Fixed two minor bugs:
DESeq() with parallel=TRUE was dropping rows with all zero
counts, instead of propogating NAs.
nbinomLRT() with matrices provided to 'full' and 'reduced' and
a design of ~ 1, the matrices were being ignored.
CHANGES IN VERSION 1.6.0
------------------------
o DESeq() and results() gets a 'parallel' argument.
o results() gets an 'addMLE' argument.
o results() gets a 'test' argument, for constructing Wald tests
after DESeq() was run using the likelihood ratio test.
o results() argument 'format' for GRanges or GRangesList results.
o new plotCounts() function.
o Less outlier calling from Cook's distance for analyses with
many samples and many conditions.
o More robust beta prior variance and log fold change shrinkage.
CHANGES IN VERSION 1.5.70
-------------------------
o Added 'parallel' also for results(), which can be slow if run with
100s of samples.
CHANGES IN VERSION 1.5.54
-------------------------
o Added 'parallel' argument to DESeq() which splits up the analysis
over genes for those steps which are easily done in parallel,
leveraging BiocParallel's bplapply.
CHANGES IN VERSION 1.5.50
-------------------------
o A matrix can be provided to rlog or to the VST and will return
a matrix. Also 'fitType' argument is included, in case dispersions
are not estimated which is passed on to estimateDispersions.
CHANGES IN VERSION 1.5.49
-------------------------
o The fast=TRUE implementation of rlog is even faster, subsetting
genes along the range of base mean to estimate the dispersion
trend and for fitting the optimal amount of shrinkage.
CHANGES IN VERSION 1.5.40
-------------------------
o Further improved code behind the robust estimation of variance
for Cook's cutoff, resulting in less outlier calls due to
an individual condition with few samples and high variance.
CHANGES IN VERSION 1.5.28
-------------------------
o New results() argument 'addMLE' adds the unshrunken fold changes
for simple contrasts or interaction terms to the results tables.
CHANGES IN VERSION 1.5.27
-------------------------
o Applied the beta prior variance calculation from v1.5.22 to the
regularized logarithm.
o Added MLE coefficients as MLE_condition_B_vs_A columns to mcols(dds).
o Fixed the statistic which is returned when lfcThreshold is used.
Previously, only the p-value and adjusted p-value was changed.
o plotPCA() with argument 'returnData' will return a data.frame
which can be used for custom plotting.
CHANGES IN VERSION 1.5.25
-------------------------
o Improved the robust variance estimate used for calculating
Cook's distances. The previous estimate could lead to outlier
calls in datasets with many conditions, and when a single
condition had large, highly variable counts for all its samples.
CHANGES IN VERSION 1.5.22
-------------------------
o Adding an alternate method for beta prior variance calculation
in nbinomWaldTest. This helps to produce more robust prior
variance estimates when many genes have small counts and highly
variable MLE log fold changes.
CHANGES IN VERSION 1.5.15
-------------------------
o For likelihood ratio test, expanded model matrices not default.
Some improvements in fit time from handling of genes with
dispersions that do not converge using line search.
CHANGES IN VERSION 1.5.13
-------------------------
o Adding test argument to results(), which allows users to perform
a Wald test after DESeq(dds, test="LRT") / nbinomLRT has been run.
CHANGES IN VERSION 1.5.11
------------------------
o Swapping in ggplot2 for lattice for the plotPCA function.
CHANGES IN VERSION 1.5.9
------------------------
o Added a VST for fitType = mean. Allowed designs with ~ 0
and betaPrior = FALSE. Fixed some potential metadata
column insertion bugs.
CHANGES IN VERSION 1.5.8
------------------------
o Suppress the glm.fit convergence warning from parametric dispersion
curve fitting procedure, instead use this for the iterative
convergence test.
CHANGES IN VERSION 1.5.3
------------------------
o Speeding up and reducing copying for DESeqDataSet construction.
CHANGES IN VERSION 1.5.2
------------------------
o Added 'format' argument to results, which will attach results to
GRangesList or GRanges if requested (default is DataFrame).
CHANGES IN VERSION 1.4.4
------------------------
o Fixed a hang which could occur in the GLM fitting procedure.
CHANGES IN VERSION 1.4.3
------------------------
o Fixed simple bug when using normalizationFactors and running
nbinomWaldTest, error was "no method for coercing this S4 class
to a vector".
CHANGES IN VERSION 1.4.2
------------------------
o Fixed bugs: estimating beta prior for interaction between factor
and numeric; not returning row names for counts(); construction
of DESeqDataSet gives wrong error when there are empty levels:
instead now drops the levels for the user.
CHANGES IN VERSION 1.4.1
------------------------
o Fixed bug where DESeqDataSetFromHTSeqCount() imported the special
rows, "_ambiguous", etc.
CHANGES IN VERSION 1.4.0
------------------------
o *** USAGE NOTE *** Expanded model matrices are now used when
betaPrior = TRUE (the default). Therefore, level comparison results
should be extracted using the 'contrast' argument to the results()
function. Expanded model matrices produce shrinkage of log
fold changes that is independent of the choice of base level.
Expanded model matrices are not used in the case of designs
with an interaction term between factors with only 2 levels.
o The order of the arguments 'name' and 'contrast' to the results()
function are swapped, to indicate that 'contrast' should be used
for the standard comparisons of levels against each other.
Calling results() with no arguments will still produce the
same comparison: the fold change of the last level of the last
design variable over the first level of the last design variable.
See ?results for more details.
o The DESeq() function will automatically replace count outliers
flagged by Cook's distance when there are 7 or more replicates.
The DESeq() argument 'minReplicatesForReplace' (default 7)
is used to decide which samples are eligible for automatic
replacement. This default behavior helps to prevent filtering
genes based on Cook's distance when there are many degrees of
freedom.
CHANGES IN VERSION 1.3.58
-------------------------
o Added a list() option to the 'contrast' argument of results().
See examples in ?results.
CHANGES IN VERSION 1.3.24
-------------------------
o rlogTransformation() gains an argument 'fast', which switches to
an approximation of the rlog transformation. Speed-up is ~ 2x.
o A more robust estimator for the beta prior variance is used:
instead of taking the mean of squared MLE betas, the prior variance
is found by matching an upper quantile of the absolute value of
MLE betas with an upper quantile of a zero-centered Normal
distribution.
CHANGES IN VERSION 1.3.17
-------------------------
o It is possible to use a log2 fold change prior (beta prior)
and obtain likelihood ratio test p-values, although the default
for test="LRT" is still betaPrior=FALSE.
CHANGES IN VERSION 1.3.15
-------------------------
o The DESeq() function will automatically replace count outliers
flagged by Cook's distance when there are 7 or more replicates.
The DESeq() argument 'minReplicatesForReplace' (default 7)
is used to decide which samples are eligible for automatic
replacement. This default behavior helps to prevent filtering
genes based on Cook's distance when there are many degrees of
freedom.
o The results() function produces an object of class 'DESeqResults'
which is a simple subclass of 'DataFrame'. This class allows for
methods to be written specifically for DESeq2 results. For example,
plotMA() can be called on a 'DESeqResults' object.
CHANGES IN VERSION 1.3.12
-------------------------
o Added a check in nbinomWaldTest which ensures that priors
on logarithmic fold changes are only estimated for interactions
terms, in the case that interaction terms are present in the
design formula.
CHANGES IN VERSION 1.3.6
------------------------
o Reduced the amount of filtering from Cook's cutoff:
maximum no longer includes samples from experimental groups
with only 2 samples, the default F quantile is raised to 0.99,
and a robust estimate of dispersion is used to calculate
Cook's distance instead of the fitted dispersion.
CHANGES IN VERSION 1.3.5
------------------------
o New arguments to results(), 'lfcThreshold' and
'alternativeHypothesis', allow for tests of log fold changes
which are above or below a given threshold.
o plotMA() function now passes ellipses arguments to the
results() function.
CHANGES IN VERSION 1.1.32
-------------------------
o By default, use QR decomposition on the design matrix X.
This stabilizes the GLM fitting. Can be turned off with
the useQR argument of nbinomWaldTest() and nbinomLRT().
o Allow for "frozen" normalization of new samples using
previous estimated parameters for the functions:
estimateSizeFactors(), varianceStabilizingTransformation(),
and rlogTransformation(). See manual pages for details and
examples.
CHANGES IN VERSION 1.1.31
-------------------------
o The adjustment of p-values and use of Cook's distance
for outlier detection is moved to results() function
instead of nbinomWaldTest(), nbinomLRT(), or DESeq().
This allows the user to change parameter settings
without having to refit the model.
CHANGES IN VERSION 1.1.24
-------------------------
o The results() function allows the user to specify a
contrast of coefficients, either using the names of
the factor and levels, or using a numeric contrast
vector. Contrasts are only available for the Wald test
differential analysis.
CHANGES IN VERSION 1.1.23
-------------------------
o The results() function automatically performs independent
filtering using the genefilter package and optimizing
over the mean of normalized counts.
CHANGES IN VERSION 1.1.21
-------------------------
o The regularized log transformation uses the fitted
dispersions instead of the MAP dispersions. This prevents
large, true log fold changes from being moderated due to
a large dispersion estimate blind to the design formula.
This behavior is also more consistent with the variance
stabilizing transformation.
CHANGES IN VERSION 1.0.10
-------------------------
o Outlier detection: Cook's distances are calculated for each
sample per gene and the matrix is stored in the assays list.
These values are used to determine genes in which a single
sample disproportionately influences the fitted coefficients.
These genes are flagged and the p-values set to NA.
The argument 'cooksCutoff' of nbinomWaldTest() and
nbinomLRT() can be used to control this functionality.
CHANGES IN VERSION 1.0.0
------------------------
o Base class: SummarizedExperiment is used as the superclass
for storing the data.
o Workflow: The wrapper function DESeq() performs all steps
for a differential expression analysis. Individual steps are
still accessible.
o Statistics: Incorporation of prior distributions into the
estimation of dispersions and fold changes (empirical-Bayes
shrinkage). A Wald test for significance is provided as the
default inference method, with the likelihood ratio test of
the previous version also available.
o Normalization: it is possible to provide a matrix of sample-
*and* gene-specific normalization factors