You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
# QDECR 0.8.1
2
+
3
+
## Bug fixes
4
+
* If the estimated smoothness is below 1, we now increase it to 1 to avoid problems down the line.
5
+
* Fixed a bug in qdecr_clusters where it assumes that there is always at least 1 cluster significant.
6
+
* "w-g.pct" files can now be used as a measure by specifying "qdecr_w_g.pct" (underscore instead of hyphen).
7
+
* Added `fwhm` argument to `qdecr_fastlm`, which was missing before.
8
+
9
+
## New (minor) features
10
+
* Added `cwp_thr` argument to `qdecr_fastlm` and `qdecr` to set the further cluster-wise p-value adjustment (default is 0.025 due to having 2 hemispheres, thus 0.05 / 2).
11
+
* Automatically output two extra files: "significant_clusters.txt" (the output of `summary(vw, annot = TRUE)`) and "stack_names.txt" (the output of `stacks(vw)` and the corresponding stack numbers).
12
+
* Modified `freeview` and `qdecr_snap`. The `mask` argument is now called `sig`. Furthermore, the ranges for the overlay colors are determined dynamically. Finally, users can now set any arguments to Freeview for manipulating surface files (see `freeview --help` on the command line).
13
+
1
14
# QDECR 0.8.0: Momo
2
15
3
16
Version 0.8.0 is the first update after public release. It fixes a bunch of mistakes, introduces further modularization, improves the speed and also reduces the RAM load.
@@ -24,4 +37,4 @@ Version 0.7.0 is the first version that is publically released. It is also the v
24
37
* Creation of the vw object and associated functions
if(is.null(stack) ||stack> length(stacks(vw))) stop("specified `stack` is not present in this dataset. Please choose: ", paste(stacks(vw), collapse=", "))
22
+
type<- match.arg(type)
23
+
empty_val<-if(type=="p") 1else0
24
+
25
+
read_fun<-switch(type,
26
+
coef=qdecr_read_coef,
27
+
se=qdecr_read_se,
28
+
t=qdecr_read_t,
29
+
p=qdecr_read_p)
20
30
21
-
temp_mgh<- qdecr_read_coef(vw, stack)
22
-
if (mask) temp_mgh$x<-temp_mgh$x %MASK% qdecr_read_ocn_mask(vw, stack)
23
-
if (all(temp_mgh$x==0)) stop("Stack does not contain information (e.g. because of no significant findings), aborting plot.")
31
+
temp_mgh<- read_fun(vw, stack)
32
+
if (all(temp_mgh$x==empty_val)) stop("Stack does not contain information (e.g. because of no significant findings), aborting plot.")
33
+
if (sig) {
34
+
p_mgh<- qdecr_read_ocn_mask(vw, stack)
35
+
temp_mgh$x[!p_mgh] <-empty_val
36
+
if (all(temp_mgh$x==empty_val)) stop("No information in the stack passed the threshold (i.e. `p_thr` was set too strict), aborting plot.")
0 commit comments